/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -s ../../../trunk/examples/settings/gemcutter/NewStatesSleepPersistentFixedOrder.epf --traceabstraction.cegar.restart.behaviour ONE_CEGAR_PER_THREAD_INSTANCE --traceabstraction.maximal.amount.of.steps.the.threads.are.allowed.to.take.successively 1 --traceabstraction.enable.heuristic.with.loops.as.step.type false --traceabstraction.considered.threads.and.their.maximal.amount.of.steps X --traceabstraction.defines.what.statements.are.considered.a.step.in.por GLOBAL_READ_WRITE -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/svcomp/ldv-races/race-2_4-container_of.i -------------------------------------------------------------------------------- This is Ultimate 0.2.2-wip.dk.orders-32214ab [2023-05-20 13:12:16,481 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-05-20 13:12:16,483 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-05-20 13:12:16,509 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-05-20 13:12:16,509 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-05-20 13:12:16,510 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-05-20 13:12:16,511 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-05-20 13:12:16,512 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-05-20 13:12:16,517 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-05-20 13:12:16,520 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-05-20 13:12:16,521 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-05-20 13:12:16,523 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-05-20 13:12:16,523 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-05-20 13:12:16,525 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-05-20 13:12:16,526 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-05-20 13:12:16,528 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-05-20 13:12:16,528 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-05-20 13:12:16,529 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-05-20 13:12:16,531 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-05-20 13:12:16,536 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-05-20 13:12:16,537 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-05-20 13:12:16,537 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-05-20 13:12:16,539 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-05-20 13:12:16,540 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-05-20 13:12:16,544 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-05-20 13:12:16,545 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-05-20 13:12:16,545 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-05-20 13:12:16,546 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-05-20 13:12:16,546 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-05-20 13:12:16,547 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-05-20 13:12:16,547 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-05-20 13:12:16,547 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-05-20 13:12:16,549 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-05-20 13:12:16,549 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-05-20 13:12:16,550 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-05-20 13:12:16,550 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-05-20 13:12:16,550 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-05-20 13:12:16,550 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-05-20 13:12:16,551 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-05-20 13:12:16,551 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-05-20 13:12:16,552 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-05-20 13:12:16,552 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/gemcutter/NewStatesSleepPersistentFixedOrder.epf [2023-05-20 13:12:16,577 INFO L113 SettingsManager]: Loading preferences was successful [2023-05-20 13:12:16,577 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-05-20 13:12:16,578 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-05-20 13:12:16,578 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-05-20 13:12:16,579 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-05-20 13:12:16,579 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-05-20 13:12:16,579 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-05-20 13:12:16,579 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-05-20 13:12:16,579 INFO L138 SettingsManager]: * Use SBE=true [2023-05-20 13:12:16,579 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-05-20 13:12:16,580 INFO L138 SettingsManager]: * sizeof long=4 [2023-05-20 13:12:16,580 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-05-20 13:12:16,580 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-05-20 13:12:16,580 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-05-20 13:12:16,580 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-05-20 13:12:16,580 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-05-20 13:12:16,581 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-05-20 13:12:16,581 INFO L138 SettingsManager]: * sizeof long double=12 [2023-05-20 13:12:16,581 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2023-05-20 13:12:16,581 INFO L138 SettingsManager]: * Use constant arrays=true [2023-05-20 13:12:16,581 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-05-20 13:12:16,581 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-05-20 13:12:16,581 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-05-20 13:12:16,582 INFO L138 SettingsManager]: * To the following directory=./dump/ [2023-05-20 13:12:16,582 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-05-20 13:12:16,582 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-05-20 13:12:16,582 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-05-20 13:12:16,582 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-05-20 13:12:16,582 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-05-20 13:12:16,582 INFO L138 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-05-20 13:12:16,583 INFO L138 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-05-20 13:12:16,583 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-05-20 13:12:16,583 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-05-20 13:12:16,583 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-05-20 13:12:16,583 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-05-20 13:12:16,583 INFO L138 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-05-20 13:12:16,583 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/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: CEGAR restart behaviour -> ONE_CEGAR_PER_THREAD_INSTANCE Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Maximal amount of steps the threads are allowed to take successively -> 1 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Enable heuristic with loops as step type -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Considered threads and their maximal amount of steps -> X Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Defines what statements are considered a step in POR -> GLOBAL_READ_WRITE [2023-05-20 13:12:16,759 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-05-20 13:12:16,775 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-05-20 13:12:16,777 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-05-20 13:12:16,778 INFO L271 PluginConnector]: Initializing CDTParser... [2023-05-20 13:12:16,779 INFO L275 PluginConnector]: CDTParser initialized [2023-05-20 13:12:16,780 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-races/race-2_4-container_of.i [2023-05-20 13:12:16,819 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/722eed31f/11453e99a44943078ce964a31b3e88d4/FLAG527bbeae3 [2023-05-20 13:12:17,210 INFO L306 CDTParser]: Found 1 translation units. [2023-05-20 13:12:17,211 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_4-container_of.i [2023-05-20 13:12:17,229 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/722eed31f/11453e99a44943078ce964a31b3e88d4/FLAG527bbeae3 [2023-05-20 13:12:17,542 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/722eed31f/11453e99a44943078ce964a31b3e88d4 [2023-05-20 13:12:17,544 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-05-20 13:12:17,545 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2023-05-20 13:12:17,549 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-05-20 13:12:17,549 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-05-20 13:12:17,551 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-05-20 13:12:17,551 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.05 01:12:17" (1/1) ... [2023-05-20 13:12:17,552 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5100c703 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:17, skipping insertion in model container [2023-05-20 13:12:17,552 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.05 01:12:17" (1/1) ... [2023-05-20 13:12:17,556 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-05-20 13:12:17,583 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-05-20 13:12:17,715 WARN L611 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-05-20 13:12:18,018 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_4-container_of.i[75002,75015] [2023-05-20 13:12:18,042 INFO L210 PostProcessor]: Analyzing one entry point: main [2023-05-20 13:12:18,060 INFO L203 MainTranslator]: Completed pre-run [2023-05-20 13:12:18,069 WARN L611 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-05-20 13:12:18,097 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_4-container_of.i[75002,75015] [2023-05-20 13:12:18,105 INFO L210 PostProcessor]: Analyzing one entry point: main [2023-05-20 13:12:18,178 INFO L208 MainTranslator]: Completed translation [2023-05-20 13:12:18,178 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18 WrapperNode [2023-05-20 13:12:18,178 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-05-20 13:12:18,179 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-05-20 13:12:18,179 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-05-20 13:12:18,179 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-05-20 13:12:18,184 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,203 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,224 INFO L138 Inliner]: procedures = 469, calls = 63, calls flagged for inlining = 12, calls inlined = 12, statements flattened = 143 [2023-05-20 13:12:18,224 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-05-20 13:12:18,225 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-05-20 13:12:18,225 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-05-20 13:12:18,225 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-05-20 13:12:18,230 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,231 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,257 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,257 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,295 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,297 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,300 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,301 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,305 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-05-20 13:12:18,306 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-05-20 13:12:18,306 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-05-20 13:12:18,306 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-05-20 13:12:18,307 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (1/1) ... [2023-05-20 13:12:18,311 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-05-20 13:12:18,326 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-20 13:12:18,339 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-05-20 13:12:18,342 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-05-20 13:12:18,363 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-05-20 13:12:18,363 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-05-20 13:12:18,363 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-05-20 13:12:18,363 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-05-20 13:12:18,363 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-05-20 13:12:18,363 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-05-20 13:12:18,363 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-05-20 13:12:18,363 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-05-20 13:12:18,363 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-05-20 13:12:18,363 INFO L130 BoogieDeclarations]: Found specification of procedure my_callback [2023-05-20 13:12:18,364 INFO L138 BoogieDeclarations]: Found implementation of procedure my_callback [2023-05-20 13:12:18,364 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-05-20 13:12:18,364 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-05-20 13:12:18,364 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-05-20 13:12:18,365 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2023-05-20 13:12:18,616 INFO L235 CfgBuilder]: Building ICFG [2023-05-20 13:12:18,618 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2023-05-20 13:12:18,843 INFO L276 CfgBuilder]: Performing block encoding [2023-05-20 13:12:18,879 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-05-20 13:12:18,879 INFO L300 CfgBuilder]: Removed 0 assume(true) statements. [2023-05-20 13:12:18,881 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.05 01:12:18 BoogieIcfgContainer [2023-05-20 13:12:18,881 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-05-20 13:12:18,883 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-05-20 13:12:18,883 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-05-20 13:12:18,885 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-05-20 13:12:18,886 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 20.05 01:12:17" (1/3) ... [2023-05-20 13:12:18,886 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7359d1dd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.05 01:12:18, skipping insertion in model container [2023-05-20 13:12:18,886 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.05 01:12:18" (2/3) ... [2023-05-20 13:12:18,886 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7359d1dd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.05 01:12:18, skipping insertion in model container [2023-05-20 13:12:18,886 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.05 01:12:18" (3/3) ... [2023-05-20 13:12:18,887 INFO L112 eAbstractionObserver]: Analyzing ICFG race-2_4-container_of.i [2023-05-20 13:12:18,893 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-05-20 13:12:18,899 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-05-20 13:12:18,899 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2023-05-20 13:12:18,899 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-05-20 13:12:18,945 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-05-20 13:12:18,987 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-05-20 13:12:18,987 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-05-20 13:12:18,987 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-20 13:12:19,002 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-05-20 13:12:19,021 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2023-05-20 13:12:19,034 INFO L162 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2023-05-20 13:12:19,046 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.start ======== [2023-05-20 13:12:19,050 INFO L357 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, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@16f057c6, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-05-20 13:12:19,051 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-05-20 13:12:31,291 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr4ASSERT_VIOLATIONERROR_FUNCTION (and 5 more)] === [2023-05-20 13:12:31,297 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-20 13:12:31,297 INFO L85 PathProgramCache]: Analyzing trace with hash -928963854, now seen corresponding path program 1 times [2023-05-20 13:12:31,303 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-20 13:12:31,303 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [467809313] [2023-05-20 13:12:31,304 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-20 13:12:31,304 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-20 13:12:31,536 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-20 13:12:33,170 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-05-20 13:12:33,171 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-20 13:12:33,171 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [467809313] [2023-05-20 13:12:33,172 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [467809313] provided 1 perfect and 0 imperfect interpolant sequences [2023-05-20 13:12:33,172 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-05-20 13:12:33,172 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [18] imperfect sequences [] total 18 [2023-05-20 13:12:33,173 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2146020420] [2023-05-20 13:12:33,174 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-05-20 13:12:33,179 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 18 states [2023-05-20 13:12:33,180 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-20 13:12:33,195 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 18 interpolants. [2023-05-20 13:12:33,198 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=57, Invalid=249, Unknown=0, NotChecked=0, Total=306 [2023-05-20 13:12:33,198 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-20 13:12:33,198 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-20 13:12:33,199 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 18 states, 18 states have (on average 4.888888888888889) internal successors, (88), 18 states have internal predecessors, (88), 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) [2023-05-20 13:12:33,199 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-20 13:12:39,876 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 17 states. [2023-05-20 13:12:39,876 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-05-20 13:12:39,877 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr4ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr4ASSERT_VIOLATIONERROR_FUNCTION (and 5 more)] === [2023-05-20 13:12:39,877 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-20 13:12:39,877 INFO L85 PathProgramCache]: Analyzing trace with hash -361302934, now seen corresponding path program 1 times [2023-05-20 13:12:39,877 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-20 13:12:39,878 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1984810724] [2023-05-20 13:12:39,878 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-20 13:12:39,878 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-20 13:12:39,904 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-20 13:12:39,969 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-05-20 13:12:39,969 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-20 13:12:39,969 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1984810724] [2023-05-20 13:12:39,969 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1984810724] provided 1 perfect and 0 imperfect interpolant sequences [2023-05-20 13:12:39,969 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-05-20 13:12:39,970 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2023-05-20 13:12:39,970 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [549196761] [2023-05-20 13:12:39,970 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-05-20 13:12:39,971 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-05-20 13:12:39,971 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-20 13:12:39,971 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-05-20 13:12:39,972 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2023-05-20 13:12:39,972 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-20 13:12:39,973 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-20 13:12:39,973 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 17.8) internal successors, (89), 5 states have internal predecessors, (89), 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) [2023-05-20 13:12:39,973 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 17 states. [2023-05-20 13:12:39,973 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-20 13:12:41,256 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 17 states. [2023-05-20 13:12:41,256 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-05-20 13:12:41,256 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-05-20 13:12:41,257 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr4ASSERT_VIOLATIONERROR_FUNCTION (and 5 more)] === [2023-05-20 13:12:41,257 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-20 13:12:41,257 INFO L85 PathProgramCache]: Analyzing trace with hash 1019310058, now seen corresponding path program 1 times [2023-05-20 13:12:41,257 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-20 13:12:41,258 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1861459270] [2023-05-20 13:12:41,258 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-20 13:12:41,258 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-20 13:12:41,300 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-05-20 13:12:41,301 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-05-20 13:12:41,323 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-05-20 13:12:41,359 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-05-20 13:12:41,359 INFO L359 BasicCegarLoop]: Counterexample is feasible [2023-05-20 13:12:41,361 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION (7 of 8 remaining) [2023-05-20 13:12:41,362 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (6 of 8 remaining) [2023-05-20 13:12:41,363 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONERROR_FUNCTION (5 of 8 remaining) [2023-05-20 13:12:41,365 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONERROR_FUNCTION (4 of 8 remaining) [2023-05-20 13:12:41,365 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (3 of 8 remaining) [2023-05-20 13:12:41,365 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONERROR_FUNCTION (2 of 8 remaining) [2023-05-20 13:12:41,366 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 8 remaining) [2023-05-20 13:12:41,366 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 8 remaining) [2023-05-20 13:12:41,366 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-05-20 13:12:41,381 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-05-20 13:12:41,385 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-05-20 13:12:41,386 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-05-20 13:12:41,448 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 20.05 01:12:41 BasicIcfg [2023-05-20 13:12:41,449 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-05-20 13:12:41,449 INFO L158 Benchmark]: Toolchain (without parser) took 23903.60ms. Allocated memory was 208.7MB in the beginning and 250.6MB in the end (delta: 41.9MB). Free memory was 175.1MB in the beginning and 97.6MB in the end (delta: 77.4MB). Peak memory consumption was 118.5MB. Max. memory is 8.0GB. [2023-05-20 13:12:41,449 INFO L158 Benchmark]: CDTParser took 0.10ms. Allocated memory is still 208.7MB. Free memory is still 166.0MB. There was no memory consumed. Max. memory is 8.0GB. [2023-05-20 13:12:41,449 INFO L158 Benchmark]: CACSL2BoogieTranslator took 629.87ms. Allocated memory is still 208.7MB. Free memory was 174.9MB in the beginning and 136.0MB in the end (delta: 38.9MB). Peak memory consumption was 38.0MB. Max. memory is 8.0GB. [2023-05-20 13:12:41,450 INFO L158 Benchmark]: Boogie Procedure Inliner took 45.36ms. Allocated memory is still 208.7MB. Free memory was 136.0MB in the beginning and 132.6MB in the end (delta: 3.4MB). Peak memory consumption was 3.1MB. Max. memory is 8.0GB. [2023-05-20 13:12:41,450 INFO L158 Benchmark]: Boogie Preprocessor took 80.55ms. Allocated memory was 208.7MB in the beginning and 250.6MB in the end (delta: 41.9MB). Free memory was 132.6MB in the beginning and 221.4MB in the end (delta: -88.9MB). Peak memory consumption was 4.4MB. Max. memory is 8.0GB. [2023-05-20 13:12:41,450 INFO L158 Benchmark]: RCFGBuilder took 575.06ms. Allocated memory is still 250.6MB. Free memory was 221.4MB in the beginning and 194.7MB in the end (delta: 26.7MB). Peak memory consumption was 26.2MB. Max. memory is 8.0GB. [2023-05-20 13:12:41,450 INFO L158 Benchmark]: TraceAbstraction took 22565.69ms. Allocated memory is still 250.6MB. Free memory was 193.2MB in the beginning and 97.6MB in the end (delta: 95.5MB). Peak memory consumption was 96.0MB. Max. memory is 8.0GB. [2023-05-20 13:12:41,451 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.10ms. Allocated memory is still 208.7MB. Free memory is still 166.0MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 629.87ms. Allocated memory is still 208.7MB. Free memory was 174.9MB in the beginning and 136.0MB in the end (delta: 38.9MB). Peak memory consumption was 38.0MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 45.36ms. Allocated memory is still 208.7MB. Free memory was 136.0MB in the beginning and 132.6MB in the end (delta: 3.4MB). Peak memory consumption was 3.1MB. Max. memory is 8.0GB. * Boogie Preprocessor took 80.55ms. Allocated memory was 208.7MB in the beginning and 250.6MB in the end (delta: 41.9MB). Free memory was 132.6MB in the beginning and 221.4MB in the end (delta: -88.9MB). Peak memory consumption was 4.4MB. Max. memory is 8.0GB. * RCFGBuilder took 575.06ms. Allocated memory is still 250.6MB. Free memory was 221.4MB in the beginning and 194.7MB in the end (delta: 26.7MB). Peak memory consumption was 26.2MB. Max. memory is 8.0GB. * TraceAbstraction took 22565.69ms. Allocated memory is still 250.6MB. Free memory was 193.2MB in the beginning and 97.6MB in the end (delta: 95.5MB). Peak memory consumption was 96.0MB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Independence relation #1 benchmarks ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2181, independent: 2000, independent conditional: 295, independent unconditional: 1705, dependent: 159, dependent conditional: 130, dependent unconditional: 29, unknown: 22, unknown conditional: 7, unknown unconditional: 15] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2069, independent: 2000, independent conditional: 295, independent unconditional: 1705, dependent: 47, dependent conditional: 18, dependent unconditional: 29, unknown: 22, unknown conditional: 7, unknown unconditional: 15] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2069, independent: 2000, independent conditional: 295, independent unconditional: 1705, dependent: 47, dependent conditional: 18, dependent unconditional: 29, unknown: 22, unknown conditional: 7, unknown unconditional: 15] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2089, independent: 2000, independent conditional: 2, independent unconditional: 1998, dependent: 64, dependent conditional: 15, dependent unconditional: 49, unknown: 25, unknown conditional: 3, unknown unconditional: 22] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2089, independent: 2000, independent conditional: 2, independent unconditional: 1998, dependent: 64, dependent conditional: 9, dependent unconditional: 55, unknown: 25, unknown conditional: 2, unknown unconditional: 23] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2089, independent: 2000, independent conditional: 2, independent unconditional: 1998, dependent: 64, dependent conditional: 9, dependent unconditional: 55, unknown: 25, unknown conditional: 2, unknown unconditional: 23] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1761, independent: 1707, independent conditional: 2, independent unconditional: 1705, dependent: 37, dependent conditional: 6, dependent unconditional: 31, unknown: 17, unknown conditional: 2, unknown unconditional: 15] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1761, independent: 1702, independent conditional: 0, independent unconditional: 1702, dependent: 59, dependent conditional: 0, dependent unconditional: 59, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 59, independent: 5, independent conditional: 2, independent unconditional: 3, dependent: 37, dependent conditional: 6, dependent unconditional: 31, unknown: 17, unknown conditional: 2, unknown unconditional: 15] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 59, independent: 5, independent conditional: 2, independent unconditional: 3, dependent: 37, dependent conditional: 6, dependent unconditional: 31, unknown: 17, unknown conditional: 2, unknown unconditional: 15] , SemanticIndependenceRelation.Query Time [ms]: [ total: 18874, independent: 86, independent conditional: 48, independent unconditional: 37, dependent: 420, dependent conditional: 75, dependent unconditional: 345, unknown: 18368, unknown conditional: 2191, unknown unconditional: 16177] , Protected Queries: 0 ], Cache Queries: [ total: 2089, independent: 293, independent conditional: 0, independent unconditional: 293, dependent: 27, dependent conditional: 3, dependent unconditional: 24, unknown: 1769, unknown conditional: 10, unknown unconditional: 1759] , Statistics on independence cache: Total cache size (in pairs): 1744, Positive cache size: 1707, Positive conditional cache size: 2, Positive unconditional cache size: 1705, Negative cache size: 37, Negative conditional cache size: 6, Negative unconditional cache size: 31, Unknown cache size: 17, Unknown conditional cache size: 2, Unknown unconditional cache size: 15, Eliminated conditions: 7, Maximal queried relation: 2, Independence queries for same thread: 112 - StatisticsResult: Persistent set benchmarks Persistent set computation time: 16.6s, Number of persistent set computation: 124, Number of trivial persistent sets: 117, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1749, independent: 1705, independent conditional: 0, independent unconditional: 1705, dependent: 29, dependent conditional: 0, dependent unconditional: 29, unknown: 15, unknown conditional: 0, unknown unconditional: 15] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2181, independent: 2000, independent conditional: 295, independent unconditional: 1705, dependent: 159, dependent conditional: 130, dependent unconditional: 29, unknown: 22, unknown conditional: 7, unknown unconditional: 15] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2069, independent: 2000, independent conditional: 295, independent unconditional: 1705, dependent: 47, dependent conditional: 18, dependent unconditional: 29, unknown: 22, unknown conditional: 7, unknown unconditional: 15] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2069, independent: 2000, independent conditional: 295, independent unconditional: 1705, dependent: 47, dependent conditional: 18, dependent unconditional: 29, unknown: 22, unknown conditional: 7, unknown unconditional: 15] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2089, independent: 2000, independent conditional: 2, independent unconditional: 1998, dependent: 64, dependent conditional: 15, dependent unconditional: 49, unknown: 25, unknown conditional: 3, unknown unconditional: 22] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2089, independent: 2000, independent conditional: 2, independent unconditional: 1998, dependent: 64, dependent conditional: 9, dependent unconditional: 55, unknown: 25, unknown conditional: 2, unknown unconditional: 23] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2089, independent: 2000, independent conditional: 2, independent unconditional: 1998, dependent: 64, dependent conditional: 9, dependent unconditional: 55, unknown: 25, unknown conditional: 2, unknown unconditional: 23] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1761, independent: 1707, independent conditional: 2, independent unconditional: 1705, dependent: 37, dependent conditional: 6, dependent unconditional: 31, unknown: 17, unknown conditional: 2, unknown unconditional: 15] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1761, independent: 1702, independent conditional: 0, independent unconditional: 1702, dependent: 59, dependent conditional: 0, dependent unconditional: 59, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 59, independent: 5, independent conditional: 2, independent unconditional: 3, dependent: 37, dependent conditional: 6, dependent unconditional: 31, unknown: 17, unknown conditional: 2, unknown unconditional: 15] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 59, independent: 5, independent conditional: 2, independent unconditional: 3, dependent: 37, dependent conditional: 6, dependent unconditional: 31, unknown: 17, unknown conditional: 2, unknown unconditional: 15] , SemanticIndependenceRelation.Query Time [ms]: [ total: 18874, independent: 86, independent conditional: 48, independent unconditional: 37, dependent: 420, dependent conditional: 75, dependent unconditional: 345, unknown: 18368, unknown conditional: 2191, unknown unconditional: 16177] , Protected Queries: 0 ], Cache Queries: [ total: 2089, independent: 293, independent conditional: 0, independent unconditional: 293, dependent: 27, dependent conditional: 3, dependent unconditional: 24, unknown: 1769, unknown conditional: 10, unknown unconditional: 1759] , Statistics on independence cache: Total cache size (in pairs): 1744, Positive cache size: 1707, Positive conditional cache size: 2, Positive unconditional cache size: 1705, Negative cache size: 37, Negative conditional cache size: 6, Negative unconditional cache size: 31, Unknown cache size: 17, Unknown conditional cache size: 2, Unknown unconditional cache size: 15, Eliminated conditions: 7, Maximal queried relation: 2, Independence queries for same thread: 112 - CounterExampleResult [Line: 1675]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L1676] 0 pthread_t t1,t2; VAL [t1={3:0}, t2={4:0}] [L1745] CALL, EXPR 0 my_drv_init() [L1739] 0 return 0; VAL [\result=0, t1={3:0}, t2={4:0}] [L1745] RET, EXPR 0 my_drv_init() [L1745] 0 int ret = my_drv_init(); VAL [my_drv_init()=0, ret=0, t1={3:0}, t2={4:0}] [L1746] COND TRUE 0 ret==0 VAL [ret=0, t1={3:0}, t2={4:0}] [L1747] 0 int probe_ret; VAL [ret=0, t1={3:0}, t2={4:0}] [L1748] 0 struct my_data data; VAL [data={5:0}, ret=0, t1={3:0}, t2={4:0}] [L1749] CALL, EXPR 0 my_drv_probe(&data) [L1706] 0 struct device *d = &data->dev; VAL [d={5:24}, data={5:0}, data={5:0}, t1={3:0}, t2={4:0}] [L1708] 0 data->shared.a = 0 VAL [d={5:24}, data={5:0}, data={5:0}, t1={3:0}, t2={4:0}] [L1709] 0 data->shared.b = 0 VAL [d={5:24}, data={5:0}, data={5:0}, t1={3:0}, t2={4:0}] [L1710] 0 int res = __VERIFIER_nondet_int(); VAL [__VERIFIER_nondet_int()=0, d={5:24}, data={5:0}, data={5:0}, res=0, t1={3:0}, t2={4:0}] [L1711] COND FALSE 0 !(\read(res)) VAL [d={5:24}, data={5:0}, data={5:0}, res=0, t1={3:0}, t2={4:0}] [L1713] FCALL, FORK 0 pthread_create(&t1, ((void *)0), my_callback, (void *)d) VAL [arg={5:24}, d={5:24}, data={5:0}, data={5:0}, pthread_create(&t1, ((void *)0), my_callback, (void *)d)=8, res=0, t1={3:0}, t2={4:0}] [L1689] 1 struct device *dev = (struct device*)arg; VAL [arg={5:24}, arg={5:24}, dev={5:24}, t1={3:0}, t2={4:0}] [L1690] 1 struct my_data *data; VAL [arg={5:24}, arg={5:24}, dev={5:24}, t1={3:0}, t2={4:0}] [L1691] 1 const typeof( ((struct my_data *)0)->dev ) *__mptr = (dev); VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, dev={5:24}, t1={3:0}, t2={4:0}] [L1691] 1 data = ({ const typeof( ((struct my_data *)0)->dev ) *__mptr = (dev); (struct my_data *)( (char *)__mptr - ((unsigned long) &((struct my_data *)0)->dev) );}) VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, dev={5:24}, t1={3:0}, t2={4:0}] [L1694] 1 data->shared.a = 1 VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, dev={5:24}, t1={3:0}, t2={4:0}] [L1714] FCALL, FORK 0 pthread_create(&t2, ((void *)0), my_callback, (void *)d) VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, d={5:24}, data={5:0}, data={5:0}, data={5:0}, dev={5:24}, pthread_create(&t2, ((void *)0), my_callback, (void *)d)=9, res=0, t1={3:0}, t2={4:0}] [L1689] 2 struct device *dev = (struct device*)arg; VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, dev={5:24}, t1={3:0}, t2={4:0}] [L1690] 2 struct my_data *data; VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, dev={5:24}, t1={3:0}, t2={4:0}] [L1691] 2 const typeof( ((struct my_data *)0)->dev ) *__mptr = (dev); VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, dev={5:24}, t1={3:0}, t2={4:0}] [L1691] 2 data = ({ const typeof( ((struct my_data *)0)->dev ) *__mptr = (dev); (struct my_data *)( (char *)__mptr - ((unsigned long) &((struct my_data *)0)->dev) );}) VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, dev={5:24}, t1={3:0}, t2={4:0}] [L1715] 0 return 0; VAL [\result=0, __mptr={5:24}, arg={5:24}, arg={5:24}, d={5:24}, data={5:0}, data={5:0}, data={5:0}, dev={5:24}, res=0, t1={3:0}, t2={4:0}] [L1749] RET, EXPR 0 my_drv_probe(&data) [L1749] 0 probe_ret = my_drv_probe(&data) VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, data={5:0}, dev={5:24}, my_drv_probe(&data)=0, probe_ret=0, ret=0, t1={3:0}, t2={4:0}] [L1750] COND TRUE 0 probe_ret==0 VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, data={5:0}, dev={5:24}, probe_ret=0, ret=0, t1={3:0}, t2={4:0}] [L1751] CALL 0 my_drv_disconnect(&data) [L1721] 0 void *status; VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, data={5:0}, data={5:0}, dev={5:24}, status={7:0}, t1={3:0}, t2={4:0}] [L1723] 0 data->shared.a = 3 VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, data={5:0}, data={5:0}, dev={5:24}, status={7:0}, t1={3:0}, t2={4:0}] [L1697] EXPR 1 data->shared.b [L1697] 1 int lb = data->shared.b; [L1726] 0 data->shared.b = 3 VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, data={5:0}, data={5:0}, dev={5:24}, lb=0, status={7:0}, t1={3:0}, t2={4:0}] [L1700] 1 data->shared.b = lb + 1 VAL [__mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, dev={5:24}, lb=0, t1={3:0}, t2={4:0}] [L1729] EXPR 0 data->shared.a [L1729] CALL 0 ldv_assert(data->shared.a==3) [L1675] COND FALSE 0 !(!expression) [L1729] RET 0 ldv_assert(data->shared.a==3) [L1732] EXPR 0 data->shared.b [L1732] CALL 0 ldv_assert(data->shared.b==3) [L1675] COND TRUE 0 !expression [L1675] 0 reach_error() VAL [\old(expression)=0, __mptr={5:24}, arg={5:24}, arg={5:24}, data={5:0}, dev={5:24}, expression=0, lb=0, pthread_mutex_lock (&data->lock)=0, t1={3:0}, t2={4:0}] - UnprovableResult [Line: 1675]: Unable to prove that call to reach_error is unreachable Unable to prove that call to reach_error is unreachable Reason: Not analyzed. - UnprovableResult [Line: 1675]: Unable to prove that call to reach_error is unreachable Unable to prove that call to reach_error is unreachable Reason: Not analyzed. - UnprovableResult [Line: 1675]: Unable to prove that call to reach_error is unreachable Unable to prove that call to reach_error is unreachable Reason: Not analyzed. - UnprovableResult [Line: 1675]: Unable to prove that call to reach_error is unreachable Unable to prove that call to reach_error is unreachable Reason: Not analyzed. - UnprovableResult [Line: 1675]: Unable to prove that call to reach_error is unreachable Unable to prove that call to reach_error is unreachable Reason: Not analyzed. - UnprovableResult [Line: 1714]: Unable to prove that petrification did provide enough thread instances (tool internal message, not intended for end users) Unable to prove that petrification did provide enough thread instances (tool internal message, not intended for end users) Reason: Not analyzed. - UnprovableResult [Line: 1713]: Unable to prove that petrification did provide enough thread instances (tool internal message, not intended for end users) Unable to prove that petrification did provide enough thread instances (tool internal message, not intended for end users) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: ULTIMATE.start with 1 thread instances CFG has 4 procedures, 185 locations, 8 error locations. Started 1 CEGAR loops. OverallTime: 22.4s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 1, EmptinessCheckTime: 20.2s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 23, 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, 1.7s InterpolantComputationTime, 264 NumberOfCodeBlocks, 264 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 175 ConstructedInterpolants, 0 QuantifiedInterpolants, 820 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 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 proved your program to be incorrect! [2023-05-20 13:12:41,520 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Ended with exit code 0 [2023-05-20 13:12:41,694 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request...