./Ultimate.py --spec /storage/repos/ultimate/trunk/examples/svcomp/properties/no-data-race.prp --file /storage/repos/ultimate/trunk/examples/svcomp/pthread-nondet/nondet-loop-bound-variant-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for data races Using default analysis Version efd9311c Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReach.xml -i /storage/repos/ultimate/trunk/examples/svcomp/pthread-nondet/nondet-loop-bound-variant-1.i -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! data-race) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 645ee85d2a671dd1acf511bbf13e9e3bda7e0b5cc29e8abc16fb4ed3af500077 --- Real Ultimate output --- This is Ultimate 0.2.2-dev-efd9311-m [2022-04-18 17:29:41,976 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-04-18 17:29:41,977 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-04-18 17:29:41,994 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-04-18 17:29:41,995 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-04-18 17:29:41,995 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-04-18 17:29:41,996 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-04-18 17:29:41,997 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-04-18 17:29:41,998 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-04-18 17:29:41,999 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-04-18 17:29:41,999 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-04-18 17:29:42,000 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-04-18 17:29:42,000 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-04-18 17:29:42,001 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-04-18 17:29:42,002 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-04-18 17:29:42,002 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-04-18 17:29:42,003 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-04-18 17:29:42,004 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-04-18 17:29:42,005 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-04-18 17:29:42,007 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-04-18 17:29:42,007 INFO L181 SettingsManager]: Resetting HornVerifier preferences to default values [2022-04-18 17:29:42,008 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-04-18 17:29:42,009 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-04-18 17:29:42,010 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-04-18 17:29:42,010 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-04-18 17:29:42,012 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-04-18 17:29:42,012 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-04-18 17:29:42,013 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-04-18 17:29:42,014 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-04-18 17:29:42,024 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-04-18 17:29:42,024 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-04-18 17:29:42,025 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-04-18 17:29:42,026 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-04-18 17:29:42,027 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-04-18 17:29:42,027 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-04-18 17:29:42,028 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-04-18 17:29:42,028 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-04-18 17:29:42,028 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-04-18 17:29:42,029 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-04-18 17:29:42,029 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-04-18 17:29:42,029 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-04-18 17:29:42,030 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-04-18 17:29:42,030 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DataRace-32bit-GemCutter_Default.epf [2022-04-18 17:29:42,051 INFO L113 SettingsManager]: Loading preferences was successful [2022-04-18 17:29:42,053 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-04-18 17:29:42,053 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-04-18 17:29:42,054 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-04-18 17:29:42,054 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-04-18 17:29:42,054 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-04-18 17:29:42,055 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-04-18 17:29:42,055 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-04-18 17:29:42,055 INFO L138 SettingsManager]: * Use SBE=true [2022-04-18 17:29:42,056 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-04-18 17:29:42,056 INFO L138 SettingsManager]: * sizeof long=4 [2022-04-18 17:29:42,056 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-04-18 17:29:42,056 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-04-18 17:29:42,056 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-04-18 17:29:42,056 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-04-18 17:29:42,056 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-04-18 17:29:42,057 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-04-18 17:29:42,057 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-04-18 17:29:42,058 INFO L138 SettingsManager]: * Check absence of data races in concurrent programs=true [2022-04-18 17:29:42,058 INFO L138 SettingsManager]: * sizeof long double=12 [2022-04-18 17:29:42,058 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-04-18 17:29:42,058 INFO L138 SettingsManager]: * Use constant arrays=true [2022-04-18 17:29:42,058 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-04-18 17:29:42,058 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-04-18 17:29:42,059 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-04-18 17:29:42,059 INFO L138 SettingsManager]: * To the following directory=./dump/ [2022-04-18 17:29:42,059 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-04-18 17:29:42,059 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-04-18 17:29:42,059 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-04-18 17:29:42,059 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-04-18 17:29:42,060 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2022-04-18 17:29:42,060 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-04-18 17:29:42,060 INFO L138 SettingsManager]: * DFS Order used in POR=PSEUDO_LOCKSTEP [2022-04-18 17:29:42,060 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-04-18 17:29:42,060 INFO L138 SettingsManager]: * Large block encoding in concurrent analysis=OFF [2022-04-18 17:29:42,060 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2022-04-18 17:29:42,061 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2022-04-18 17:29:42,061 INFO L138 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2022-04-18 17:29:42,061 INFO L138 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2022-04-18 17:29:42,061 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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/UGemCutter-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.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! data-race) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> GemCutter Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 645ee85d2a671dd1acf511bbf13e9e3bda7e0b5cc29e8abc16fb4ed3af500077 [2022-04-18 17:29:42,250 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-04-18 17:29:42,266 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-04-18 17:29:42,269 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-04-18 17:29:42,269 INFO L271 PluginConnector]: Initializing CDTParser... [2022-04-18 17:29:42,270 INFO L275 PluginConnector]: CDTParser initialized [2022-04-18 17:29:42,271 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/trunk/examples/svcomp/pthread-nondet/nondet-loop-bound-variant-1.i [2022-04-18 17:29:42,330 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/32304ed2a/302368db98d34b77ba35ed71b4f87260/FLAG2294c986c [2022-04-18 17:29:42,739 INFO L306 CDTParser]: Found 1 translation units. [2022-04-18 17:29:42,745 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-nondet/nondet-loop-bound-variant-1.i [2022-04-18 17:29:42,758 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/32304ed2a/302368db98d34b77ba35ed71b4f87260/FLAG2294c986c [2022-04-18 17:29:42,770 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/32304ed2a/302368db98d34b77ba35ed71b4f87260 [2022-04-18 17:29:42,772 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-04-18 17:29:42,774 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-04-18 17:29:42,777 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-04-18 17:29:42,778 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-04-18 17:29:42,780 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-04-18 17:29:42,780 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.04 05:29:42" (1/1) ... [2022-04-18 17:29:42,781 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@28a102c4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:42, skipping insertion in model container [2022-04-18 17:29:42,781 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.04 05:29:42" (1/1) ... [2022-04-18 17:29:42,787 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-04-18 17:29:42,810 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-04-18 17:29:43,082 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-nondet/nondet-loop-bound-variant-1.i[30035,30048] [2022-04-18 17:29:43,098 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-04-18 17:29:43,106 INFO L203 MainTranslator]: Completed pre-run [2022-04-18 17:29:43,133 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-nondet/nondet-loop-bound-variant-1.i[30035,30048] [2022-04-18 17:29:43,147 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-04-18 17:29:43,173 INFO L208 MainTranslator]: Completed translation [2022-04-18 17:29:43,174 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43 WrapperNode [2022-04-18 17:29:43,174 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-04-18 17:29:43,175 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-04-18 17:29:43,175 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-04-18 17:29:43,175 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-04-18 17:29:43,179 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,202 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,225 INFO L137 Inliner]: procedures = 171, calls = 26, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 110 [2022-04-18 17:29:43,225 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-04-18 17:29:43,226 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-04-18 17:29:43,226 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-04-18 17:29:43,226 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-04-18 17:29:43,232 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,233 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,244 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,245 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,251 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,256 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,258 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,263 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-04-18 17:29:43,266 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-04-18 17:29:43,267 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-04-18 17:29:43,267 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-04-18 17:29:43,268 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (1/1) ... [2022-04-18 17:29:43,272 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-04-18 17:29:43,279 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2022-04-18 17:29:43,291 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-04-18 17:29:43,306 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-04-18 17:29:43,321 INFO L130 BoogieDeclarations]: Found specification of procedure thr2 [2022-04-18 17:29:43,321 INFO L138 BoogieDeclarations]: Found implementation of procedure thr2 [2022-04-18 17:29:43,322 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2022-04-18 17:29:43,322 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2022-04-18 17:29:43,322 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-04-18 17:29:43,322 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2022-04-18 17:29:43,322 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-04-18 17:29:43,322 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-04-18 17:29:43,322 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-04-18 17:29:43,322 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-04-18 17:29:43,323 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-04-18 17:29:43,323 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-04-18 17:29:43,324 WARN L208 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2022-04-18 17:29:43,426 INFO L234 CfgBuilder]: Building ICFG [2022-04-18 17:29:43,428 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-04-18 17:29:43,554 INFO L275 CfgBuilder]: Performing block encoding [2022-04-18 17:29:43,559 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-04-18 17:29:43,559 INFO L299 CfgBuilder]: Removed 1 assume(true) statements. [2022-04-18 17:29:43,561 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.04 05:29:43 BoogieIcfgContainer [2022-04-18 17:29:43,561 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-04-18 17:29:43,562 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-04-18 17:29:43,562 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-04-18 17:29:43,564 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-04-18 17:29:43,564 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 18.04 05:29:42" (1/3) ... [2022-04-18 17:29:43,565 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5cda7730 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.04 05:29:43, skipping insertion in model container [2022-04-18 17:29:43,565 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.04 05:29:43" (2/3) ... [2022-04-18 17:29:43,565 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5cda7730 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.04 05:29:43, skipping insertion in model container [2022-04-18 17:29:43,565 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.04 05:29:43" (3/3) ... [2022-04-18 17:29:43,566 INFO L111 eAbstractionObserver]: Analyzing ICFG nondet-loop-bound-variant-1.i [2022-04-18 17:29:43,569 WARN L147 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2022-04-18 17:29:43,570 INFO L202 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-04-18 17:29:43,570 INFO L161 ceAbstractionStarter]: Applying trace abstraction to program that has 10 error locations. [2022-04-18 17:29:43,570 INFO L504 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2022-04-18 17:29:43,600 INFO L135 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2022-04-18 17:29:43,631 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-04-18 17:29:43,632 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2022-04-18 17:29:43,633 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2022-04-18 17:29:43,647 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2022-04-18 17:29:43,668 INFO L339 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == thr1Thread1of1ForFork0 ======== [2022-04-18 17:29:43,672 INFO L340 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=true, mAutomataTypeConcurrency=PARTIAL_ORDER_FA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopsAndPotentialCycles, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP [2022-04-18 17:29:43,673 INFO L341 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2022-04-18 17:29:43,760 INFO L403 AbstractCegarLoop]: === Iteration 1 === Targeting thr1Err0ASSERT_VIOLATIONDATA_RACE === [thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE] === [2022-04-18 17:29:43,763 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-04-18 17:29:43,764 INFO L85 PathProgramCache]: Analyzing trace with hash -1993684264, now seen corresponding path program 1 times [2022-04-18 17:29:43,769 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-04-18 17:29:43,770 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2005883706] [2022-04-18 17:29:43,770 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-18 17:29:43,771 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-04-18 17:29:43,888 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-04-18 17:29:43,951 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-18 17:29:43,952 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-04-18 17:29:43,952 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2005883706] [2022-04-18 17:29:43,953 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2005883706] provided 1 perfect and 0 imperfect interpolant sequences [2022-04-18 17:29:43,953 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-04-18 17:29:43,953 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-04-18 17:29:43,954 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [62485801] [2022-04-18 17:29:43,955 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-04-18 17:29:43,958 INFO L554 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-04-18 17:29:43,958 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-04-18 17:29:43,976 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-04-18 17:29:43,978 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-04-18 17:29:43,979 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:43,980 INFO L478 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-04-18 17:29:43,981 INFO L479 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 30.5) internal successors, (61), 2 states have internal predecessors, (61), 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-04-18 17:29:43,981 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,008 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,009 WARN L460 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-04-18 17:29:44,009 INFO L403 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONDATA_RACE === [thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE] === [2022-04-18 17:29:44,012 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-04-18 17:29:44,013 INFO L85 PathProgramCache]: Analyzing trace with hash 286153848, now seen corresponding path program 1 times [2022-04-18 17:29:44,013 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-04-18 17:29:44,013 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [273575227] [2022-04-18 17:29:44,013 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-18 17:29:44,014 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-04-18 17:29:44,046 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-04-18 17:29:44,109 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-18 17:29:44,110 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-04-18 17:29:44,110 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [273575227] [2022-04-18 17:29:44,110 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [273575227] provided 1 perfect and 0 imperfect interpolant sequences [2022-04-18 17:29:44,110 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-04-18 17:29:44,110 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-04-18 17:29:44,110 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [712088843] [2022-04-18 17:29:44,110 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-04-18 17:29:44,111 INFO L554 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-04-18 17:29:44,111 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-04-18 17:29:44,112 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-04-18 17:29:44,112 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-04-18 17:29:44,112 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,112 INFO L478 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-04-18 17:29:44,112 INFO L479 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 30.0) internal successors, (60), 3 states have internal predecessors, (60), 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-04-18 17:29:44,112 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,113 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,166 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,167 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-04-18 17:29:44,167 WARN L460 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2022-04-18 17:29:44,168 INFO L403 AbstractCegarLoop]: === Iteration 3 === Targeting thr1Err1ASSERT_VIOLATIONDATA_RACE === [thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE] === [2022-04-18 17:29:44,168 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-04-18 17:29:44,168 INFO L85 PathProgramCache]: Analyzing trace with hash -240475940, now seen corresponding path program 1 times [2022-04-18 17:29:44,169 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-04-18 17:29:44,169 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [996401041] [2022-04-18 17:29:44,169 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-18 17:29:44,169 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-04-18 17:29:44,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-04-18 17:29:44,245 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-18 17:29:44,246 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-04-18 17:29:44,247 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [996401041] [2022-04-18 17:29:44,247 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [996401041] provided 1 perfect and 0 imperfect interpolant sequences [2022-04-18 17:29:44,248 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-04-18 17:29:44,248 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-04-18 17:29:44,248 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [983408760] [2022-04-18 17:29:44,249 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-04-18 17:29:44,250 INFO L554 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-04-18 17:29:44,250 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-04-18 17:29:44,251 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-04-18 17:29:44,251 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-04-18 17:29:44,252 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,252 INFO L478 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-04-18 17:29:44,252 INFO L479 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 32.0) internal successors, (64), 3 states have internal predecessors, (64), 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-04-18 17:29:44,253 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,253 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-04-18 17:29:44,253 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,596 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:44,597 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-04-18 17:29:44,597 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-04-18 17:29:44,597 WARN L460 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2022-04-18 17:29:44,597 INFO L403 AbstractCegarLoop]: === Iteration 4 === Targeting thr1Err0ASSERT_VIOLATIONDATA_RACE === [thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE] === [2022-04-18 17:29:44,598 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-04-18 17:29:44,598 INFO L85 PathProgramCache]: Analyzing trace with hash 1936136907, now seen corresponding path program 1 times [2022-04-18 17:29:44,598 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-04-18 17:29:44,598 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1181409866] [2022-04-18 17:29:44,598 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-18 17:29:44,599 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-04-18 17:29:44,621 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-04-18 17:29:44,704 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-18 17:29:44,704 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-04-18 17:29:44,704 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1181409866] [2022-04-18 17:29:44,704 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1181409866] provided 0 perfect and 1 imperfect interpolant sequences [2022-04-18 17:29:44,704 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [50091298] [2022-04-18 17:29:44,704 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-18 17:29:44,705 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-04-18 17:29:44,705 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2022-04-18 17:29:44,706 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-04-18 17:29:44,706 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2022-04-18 17:29:44,896 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-04-18 17:29:44,898 INFO L263 TraceCheckSpWp]: Trace formula consists of 239 conjuncts, 6 conjunts are in the unsatisfiable core [2022-04-18 17:29:44,902 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-04-18 17:29:45,277 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-18 17:29:45,277 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2022-04-18 17:29:45,475 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-04-18 17:29:45,475 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleZ3 [50091298] provided 0 perfect and 2 imperfect interpolant sequences [2022-04-18 17:29:45,475 INFO L184 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2022-04-18 17:29:45,476 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7, 7] total 16 [2022-04-18 17:29:45,476 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1566203094] [2022-04-18 17:29:45,476 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2022-04-18 17:29:45,477 INFO L554 AbstractCegarLoop]: INTERPOLANT automaton has 16 states [2022-04-18 17:29:45,477 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-04-18 17:29:45,477 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 16 interpolants. [2022-04-18 17:29:45,478 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=74, Invalid=166, Unknown=0, NotChecked=0, Total=240 [2022-04-18 17:29:45,478 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:45,478 INFO L478 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-04-18 17:29:45,478 INFO L479 AbstractCegarLoop]: INTERPOLANT automaton has has 16 states, 16 states have (on average 10.9375) internal successors, (175), 16 states have internal predecessors, (175), 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-04-18 17:29:45,478 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:45,478 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-04-18 17:29:45,478 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-04-18 17:29:45,479 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:45,563 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-04-18 17:29:45,563 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-04-18 17:29:45,563 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-04-18 17:29:45,563 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2022-04-18 17:29:45,583 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2022-04-18 17:29:45,769 WARN L460 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3,3 /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-04-18 17:29:45,770 INFO L403 AbstractCegarLoop]: === Iteration 5 === Targeting thr1Err0ASSERT_VIOLATIONDATA_RACE === [thr1Err0ASSERT_VIOLATIONDATA_RACE, thr1Err1ASSERT_VIOLATIONDATA_RACE] === [2022-04-18 17:29:45,770 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-04-18 17:29:45,770 INFO L85 PathProgramCache]: Analyzing trace with hash -1941072032, now seen corresponding path program 1 times [2022-04-18 17:29:45,771 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-04-18 17:29:45,771 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [17325653] [2022-04-18 17:29:45,771 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-04-18 17:29:45,771 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-04-18 17:29:45,821 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-04-18 17:29:45,822 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-04-18 17:29:45,839 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-04-18 17:29:45,861 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-04-18 17:29:45,861 INFO L618 BasicCegarLoop]: Counterexample is feasible [2022-04-18 17:29:45,862 INFO L788 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err0ASSERT_VIOLATIONDATA_RACE (1 of 2 remaining) [2022-04-18 17:29:45,863 INFO L788 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONDATA_RACE (0 of 2 remaining) [2022-04-18 17:29:45,863 WARN L460 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2022-04-18 17:29:45,869 INFO L719 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1] [2022-04-18 17:29:45,869 INFO L306 ceAbstractionStarter]: Result for error location thr1Thread1of1ForFork0 was UNSAFE,UNKNOWN (1/3) [2022-04-18 17:29:45,872 INFO L227 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2022-04-18 17:29:45,872 INFO L177 ceAbstractionStarter]: Computing trace abstraction results [2022-04-18 17:29:45,942 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 18.04 05:29:45 BasicIcfg [2022-04-18 17:29:45,942 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2022-04-18 17:29:45,943 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-04-18 17:29:45,944 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-04-18 17:29:45,944 INFO L275 PluginConnector]: Witness Printer initialized [2022-04-18 17:29:45,945 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.04 05:29:43" (3/4) ... [2022-04-18 17:29:45,947 INFO L140 WitnessPrinter]: No result that supports witness generation found [2022-04-18 17:29:45,947 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-04-18 17:29:45,947 INFO L158 Benchmark]: Toolchain (without parser) took 3172.73ms. Allocated memory was 98.6MB in the beginning and 123.7MB in the end (delta: 25.2MB). Free memory was 64.5MB in the beginning and 88.9MB in the end (delta: -24.4MB). Peak memory consumption was 394.2kB. Max. memory is 16.1GB. [2022-04-18 17:29:45,948 INFO L158 Benchmark]: CDTParser took 0.13ms. Allocated memory is still 98.6MB. Free memory was 53.8MB in the beginning and 53.7MB in the end (delta: 43.6kB). There was no memory consumed. Max. memory is 16.1GB. [2022-04-18 17:29:45,948 INFO L158 Benchmark]: CACSL2BoogieTranslator took 397.17ms. Allocated memory is still 98.6MB. Free memory was 64.3MB in the beginning and 64.0MB in the end (delta: 261.6kB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2022-04-18 17:29:45,948 INFO L158 Benchmark]: Boogie Procedure Inliner took 51.04ms. Allocated memory is still 98.6MB. Free memory was 64.0MB in the beginning and 61.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-04-18 17:29:45,949 INFO L158 Benchmark]: Boogie Preprocessor took 39.65ms. Allocated memory is still 98.6MB. Free memory was 61.9MB in the beginning and 60.6MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-04-18 17:29:45,949 INFO L158 Benchmark]: RCFGBuilder took 294.72ms. Allocated memory is still 98.6MB. Free memory was 60.2MB in the beginning and 46.4MB in the end (delta: 13.9MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2022-04-18 17:29:45,949 INFO L158 Benchmark]: TraceAbstraction took 2380.57ms. Allocated memory was 98.6MB in the beginning and 123.7MB in the end (delta: 25.2MB). Free memory was 46.0MB in the beginning and 89.9MB in the end (delta: -43.9MB). Peak memory consumption was 42.9MB. Max. memory is 16.1GB. [2022-04-18 17:29:45,950 INFO L158 Benchmark]: Witness Printer took 3.65ms. Allocated memory is still 123.7MB. Free memory is still 89.9MB. There was no memory consumed. Max. memory is 16.1GB. [2022-04-18 17:29:45,951 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.13ms. Allocated memory is still 98.6MB. Free memory was 53.8MB in the beginning and 53.7MB in the end (delta: 43.6kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 397.17ms. Allocated memory is still 98.6MB. Free memory was 64.3MB in the beginning and 64.0MB in the end (delta: 261.6kB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 51.04ms. Allocated memory is still 98.6MB. Free memory was 64.0MB in the beginning and 61.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 39.65ms. Allocated memory is still 98.6MB. Free memory was 61.9MB in the beginning and 60.6MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 294.72ms. Allocated memory is still 98.6MB. Free memory was 60.2MB in the beginning and 46.4MB in the end (delta: 13.9MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * TraceAbstraction took 2380.57ms. Allocated memory was 98.6MB in the beginning and 123.7MB in the end (delta: 25.2MB). Free memory was 46.0MB in the beginning and 89.9MB in the end (delta: -43.9MB). Peak memory consumption was 42.9MB. Max. memory is 16.1GB. * Witness Printer took 3.65ms. Allocated memory is still 123.7MB. Free memory is still 89.9MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Independence relation benchmarks ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 5792, positive: 5515, positive conditional: 2642, positive unconditional: 2873, negative: 277, negative conditional: 243, negative unconditional: 34, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 5552, positive: 5515, positive conditional: 2642, positive unconditional: 2873, negative: 37, negative conditional: 3, negative unconditional: 34, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 5552, positive: 5515, positive conditional: 2642, positive unconditional: 2873, negative: 37, negative conditional: 3, negative unconditional: 34, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 5565, positive: 5515, positive conditional: 2625, positive unconditional: 2890, negative: 50, negative conditional: 13, negative unconditional: 37, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 5565, positive: 5515, positive conditional: 1142, positive unconditional: 4373, negative: 50, negative conditional: 2, negative unconditional: 48, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 5565, positive: 5515, positive conditional: 1142, positive unconditional: 4373, negative: 50, negative conditional: 2, negative unconditional: 48, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 2655, positive: 2619, positive conditional: 16, positive unconditional: 2603, negative: 36, negative conditional: 1, negative unconditional: 35, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 2655, positive: 2575, positive conditional: 0, positive unconditional: 2575, negative: 80, negative conditional: 0, negative unconditional: 80, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Independence Queries: [ total: 80, positive: 44, positive conditional: 12, positive unconditional: 32, negative: 36, negative conditional: 1, negative unconditional: 35, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 152, positive: 102, positive conditional: 11, positive unconditional: 91, negative: 50, negative conditional: 1, negative unconditional: 50, unknown: 0, unknown conditional: 0, unknown unconditional: 0] ], Cache Queries: [ total: 5565, positive: 2896, positive conditional: 1126, positive unconditional: 1770, negative: 14, negative conditional: 1, negative unconditional: 13, unknown: 2655, unknown conditional: 17, unknown unconditional: 2638] , Statistics on independence cache: Total cache size (in pairs): 2655, Positive cache size: 2619, Positive conditional cache size: 16, Positive unconditional cache size: 2603, Negative cache size: 36, Negative conditional cache size: 1, Negative unconditional cache size: 35, Eliminated conditions: 1494, Maximal queried relation: 3, Independence queries for same thread: 240 - StatisticsResult: Persistent set benchmarks Persistent set computation time: 0.3s, Number of persistent set computation: 780, Number of trivial persistent sets: 688, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2907, positive: 2873, positive conditional: 0, positive unconditional: 2873, negative: 34, negative conditional: 0, negative unconditional: 34, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 5792, positive: 5515, positive conditional: 2642, positive unconditional: 2873, negative: 277, negative conditional: 243, negative unconditional: 34, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 5552, positive: 5515, positive conditional: 2642, positive unconditional: 2873, negative: 37, negative conditional: 3, negative unconditional: 34, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 5552, positive: 5515, positive conditional: 2642, positive unconditional: 2873, negative: 37, negative conditional: 3, negative unconditional: 34, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 5565, positive: 5515, positive conditional: 2625, positive unconditional: 2890, negative: 50, negative conditional: 13, negative unconditional: 37, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 5565, positive: 5515, positive conditional: 1142, positive unconditional: 4373, negative: 50, negative conditional: 2, negative unconditional: 48, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 5565, positive: 5515, positive conditional: 1142, positive unconditional: 4373, negative: 50, negative conditional: 2, negative unconditional: 48, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 2655, positive: 2619, positive conditional: 16, positive unconditional: 2603, negative: 36, negative conditional: 1, negative unconditional: 35, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 2655, positive: 2575, positive conditional: 0, positive unconditional: 2575, negative: 80, negative conditional: 0, negative unconditional: 80, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Independence Queries: [ total: 80, positive: 44, positive conditional: 12, positive unconditional: 32, negative: 36, negative conditional: 1, negative unconditional: 35, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 152, positive: 102, positive conditional: 11, positive unconditional: 91, negative: 50, negative conditional: 1, negative unconditional: 50, unknown: 0, unknown conditional: 0, unknown unconditional: 0] ], Cache Queries: [ total: 5565, positive: 2896, positive conditional: 1126, positive unconditional: 1770, negative: 14, negative conditional: 1, negative unconditional: 13, unknown: 2655, unknown conditional: 17, unknown unconditional: 2638] , Statistics on independence cache: Total cache size (in pairs): 2655, Positive cache size: 2619, Positive conditional cache size: 16, Positive unconditional cache size: 2603, Negative cache size: 36, Negative conditional cache size: 1, Negative unconditional cache size: 35, Eliminated conditions: 1494, Maximal queried relation: 3, Independence queries for same thread: 240 - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - DataRaceFoundResult [Line: 694]: Data race detected Data race detected The following path leads to a data race: [L690] 0 volatile int x; VAL [x=0] [L691] 0 volatile int n; VAL [n=0, x=0] [L692] 0 pthread_mutex_t mut = { { 0, 0, 0, 0, 0, { { 0, 0 } } } }; VAL [mut={3:0}, n=0, x=0] [L708] 0 pthread_t t1, t2; VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, mut={3:0}, n=0, t1={6:0}, t2={5:0}, x=0] [L709] 0 x = 0 VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, mut={3:0}, n=0, t1={6:0}, t2={5:0}, x=0] [L710] 0 n = __VERIFIER_nondet_uint() VAL [\old(argc)=54, __VERIFIER_nondet_uint()=10, argc=54, argv={52:51}, argv={52:51}, mut={3:0}, n=10, n = __VERIFIER_nondet_uint()=50, t1={6:0}, t2={5:0}, x=0] [L711] EXPR 0 n >= (10/2) VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, mut={3:0}, n=10, t1={6:0}, t2={5:0}, x=0] [L711] EXPR 0 n >= (10/2) && n <= 10 VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, mut={3:0}, n=10, n >= (10/2) && n <= 10=1, t1={6:0}, t2={5:0}, x=0] [L711] EXPR 0 n <= 10 VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, mut={3:0}, n=10, n >= (10/2) && n <= 10=1, t1={6:0}, t2={5:0}, x=0] [L711] EXPR 0 n >= (10/2) && n <= 10 VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, mut={3:0}, n=10, n >= (10/2) && n <= 10=1, t1={6:0}, t2={5:0}, x=0] [L711] CALL 0 assume_abort_if_not(n >= (10/2) && n <= 10) [L687] COND FALSE 0 !(!cond) VAL [\old(cond)=1, cond=1, mut={3:0}, n=10, x=0] [L711] RET 0 assume_abort_if_not(n >= (10/2) && n <= 10) [L712] FCALL, FORK 0 pthread_create(&t1, 0, thr1, 0) VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, mut={3:0}, n=10, pthread_create(&t1, 0, thr1, 0)=13, t1={6:0}, t2={5:0}, x=0] [L694] 1 x < n VAL [arg={0:0}, arg={0:0}, mut={3:0}, n=10, x=0] [L713] 0 int i = 0; VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, i=0, mut={3:0}, n=10, t1={6:0}, t2={5:0}, x=0] [L713] 0 i < n VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, i=0, mut={3:0}, n=10, t1={6:0}, t2={5:0}, x=0] [L713] COND TRUE 0 i < n VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, i=0, mut={3:0}, n=10, t1={6:0}, t2={5:0}, x=0] [L714] FCALL, FORK 0 pthread_create(&t2, 0, thr2, 0) VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, i=0, mut={3:0}, n=10, pthread_create(&t2, 0, thr2, 0)=14, t1={6:0}, t2={5:0}, x=0] [L697] 2 int t; VAL [arg={0:0}, arg={0:0}, mut={3:0}, n=10, x=0] [L698] 2 int k = __VERIFIER_nondet_uint(); VAL [__VERIFIER_nondet_uint()=10, arg={0:0}, arg={0:0}, k=10, mut={3:0}, n=10, x=0] [L713] 0 i++ VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, i=0, i++=0, mut={3:0}, n=10, t1={6:0}, t2={5:0}, x=0] [L713] 0 i++ VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, i=1, i++=0, mut={3:0}, n=10, t1={6:0}, t2={5:0}, x=0] [L699] CALL 2 assume_abort_if_not(k >= (10/2) && k <= 10) [L713] 0 i < n VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, i=1, mut={3:0}, n=10, t1={6:0}, t2={5:0}, x=0] [L713] COND TRUE 0 i < n VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, i=1, mut={3:0}, n=10, t1={6:0}, t2={5:0}, x=0] [L687] COND FALSE 2 !(!cond) VAL [\old(cond)=1, \old(cond)=1, cond=1, cond=1, mut={3:0}, n=10, x=0] [L699] RET 2 assume_abort_if_not(k >= (10/2) && k <= 10) [L714] FCALL, FORK 0 pthread_create(&t2, 0, thr2, 0) VAL [\old(argc)=54, argc=54, argv={52:51}, argv={52:51}, i=1, mut={3:0}, n=10, pthread_create(&t2, 0, thr2, 0)=15, t1={6:0}, t2={5:0}, x=0] [L701] 2 t = x VAL [arg={0:0}, arg={0:0}, k=10, mut={3:0}, n=10, t=0, x=0] [L702] 2 k == n VAL [arg={0:0}, arg={0:0}, k=10, mut={3:0}, n=10, t=0, x=0] [L702] COND TRUE 2 k == n VAL [arg={0:0}, arg={0:0}, k=10, mut={3:0}, n=10, t=0, x=0] [L703] 2 x = t + 1 VAL [arg={0:0}, arg={0:0}, k=10, mut={3:0}, n=10, t=0, x=1, x = t + 1=53] [L694] 1 x < n VAL [arg={0:0}, arg={0:0}, mut={3:0}, n=10, x=1] Now there is a data race on ~x~0 between C: x = t + 1 [703] and C: x < n [694] - UnprovableResult [Line: 694]: Unable to prove that there are no data races Unable to prove that there are no data races Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: thr1Thread1of1ForFork0 with 1 thread instances CFG has 5 procedures, 181 locations, 17 error locations. Started 1 CEGAR loops. OverallTime: 2.2s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, PartialOrderReductionTime: 0.6s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 17, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.8s InterpolantComputationTime, 496 NumberOfCodeBlocks, 496 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 494 ConstructedInterpolants, 0 QuantifiedInterpolants, 972 SizeOfPredicates, 5 NumberOfNonLiveVariables, 239 ConjunctsInSsa, 6 ConjunctsInUnsatCore, 6 InterpolantComputations, 3 PerfectInterpolantSequences, 0/9 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2022-04-18 17:29:46,030 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Forceful destruction successful, exit code 0 [2022-04-18 17:29:46,246 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE