/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-218013a [2023-05-04 17:02:58,657 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-05-04 17:02:58,659 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-05-04 17:02:58,698 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-05-04 17:02:58,699 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-05-04 17:02:58,702 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-05-04 17:02:58,704 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-05-04 17:02:58,708 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-05-04 17:02:58,713 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-05-04 17:02:58,718 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-05-04 17:02:58,719 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-05-04 17:02:58,721 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-05-04 17:02:58,721 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-05-04 17:02:58,723 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-05-04 17:02:58,724 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-05-04 17:02:58,725 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-05-04 17:02:58,726 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-05-04 17:02:58,726 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-05-04 17:02:58,728 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-05-04 17:02:58,733 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-05-04 17:02:58,735 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-05-04 17:02:58,736 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-05-04 17:02:58,737 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-05-04 17:02:58,738 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-05-04 17:02:58,744 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-05-04 17:02:58,745 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-05-04 17:02:58,745 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-05-04 17:02:58,746 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-05-04 17:02:58,747 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-05-04 17:02:58,747 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-05-04 17:02:58,748 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-05-04 17:02:58,748 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-05-04 17:02:58,750 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-05-04 17:02:58,750 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-05-04 17:02:58,751 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-05-04 17:02:58,752 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-05-04 17:02:58,752 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-05-04 17:02:58,752 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-05-04 17:02:58,753 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-05-04 17:02:58,753 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-05-04 17:02:58,754 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-05-04 17:02:58,755 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/gemcutter/NewStatesSleepPersistentFixedOrder.epf [2023-05-04 17:02:58,782 INFO L113 SettingsManager]: Loading preferences was successful [2023-05-04 17:02:58,783 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-05-04 17:02:58,783 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-05-04 17:02:58,783 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-05-04 17:02:58,784 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-05-04 17:02:58,784 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-05-04 17:02:58,785 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-05-04 17:02:58,785 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-05-04 17:02:58,785 INFO L138 SettingsManager]: * Use SBE=true [2023-05-04 17:02:58,785 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-05-04 17:02:58,786 INFO L138 SettingsManager]: * sizeof long=4 [2023-05-04 17:02:58,786 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-05-04 17:02:58,787 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-05-04 17:02:58,787 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-05-04 17:02:58,787 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-05-04 17:02:58,787 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-05-04 17:02:58,787 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-05-04 17:02:58,787 INFO L138 SettingsManager]: * sizeof long double=12 [2023-05-04 17:02:58,787 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2023-05-04 17:02:58,788 INFO L138 SettingsManager]: * Use constant arrays=true [2023-05-04 17:02:58,788 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-05-04 17:02:58,788 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-05-04 17:02:58,788 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-05-04 17:02:58,789 INFO L138 SettingsManager]: * To the following directory=./dump/ [2023-05-04 17:02:58,789 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-05-04 17:02:58,790 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-05-04 17:02:58,790 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-05-04 17:02:58,790 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-05-04 17:02:58,790 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-05-04 17:02:58,790 INFO L138 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-05-04 17:02:58,790 INFO L138 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-05-04 17:02:58,791 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-05-04 17:02:58,791 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-05-04 17:02:58,791 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-05-04 17:02:58,791 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-05-04 17:02:58,791 INFO L138 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-05-04 17:02:58,791 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-04 17:02:59,032 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-05-04 17:02:59,050 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-05-04 17:02:59,052 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-05-04 17:02:59,054 INFO L271 PluginConnector]: Initializing CDTParser... [2023-05-04 17:02:59,055 INFO L275 PluginConnector]: CDTParser initialized [2023-05-04 17:02:59,056 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-04 17:02:59,119 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/84c859cff/7c92f95a574b45bcb4052bf252b87887/FLAG145a81f55 [2023-05-04 17:02:59,588 INFO L306 CDTParser]: Found 1 translation units. [2023-05-04 17:02:59,588 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-races/race-2_4-container_of.i [2023-05-04 17:02:59,611 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/84c859cff/7c92f95a574b45bcb4052bf252b87887/FLAG145a81f55 [2023-05-04 17:02:59,896 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/84c859cff/7c92f95a574b45bcb4052bf252b87887 [2023-05-04 17:02:59,910 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-05-04 17:02:59,915 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2023-05-04 17:02:59,921 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-05-04 17:02:59,921 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-05-04 17:02:59,924 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-05-04 17:02:59,925 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.05 05:02:59" (1/1) ... [2023-05-04 17:02:59,926 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@56882f04 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:02:59, skipping insertion in model container [2023-05-04 17:02:59,927 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.05 05:02:59" (1/1) ... [2023-05-04 17:02:59,932 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-05-04 17:02:59,977 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-05-04 17:03:00,146 WARN L611 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-05-04 17:03:00,455 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-04 17:03:00,503 INFO L210 PostProcessor]: Analyzing one entry point: main [2023-05-04 17:03:00,514 INFO L203 MainTranslator]: Completed pre-run [2023-05-04 17:03:00,527 WARN L611 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-05-04 17:03:00,580 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-04 17:03:00,596 INFO L210 PostProcessor]: Analyzing one entry point: main [2023-05-04 17:03:00,683 INFO L208 MainTranslator]: Completed translation [2023-05-04 17:03:00,683 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00 WrapperNode [2023-05-04 17:03:00,683 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-05-04 17:03:00,688 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-05-04 17:03:00,689 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-05-04 17:03:00,689 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-05-04 17:03:00,696 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,725 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,750 INFO L138 Inliner]: procedures = 469, calls = 63, calls flagged for inlining = 12, calls inlined = 12, statements flattened = 143 [2023-05-04 17:03:00,750 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-05-04 17:03:00,751 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-05-04 17:03:00,751 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-05-04 17:03:00,751 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-05-04 17:03:00,758 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,759 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,763 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,763 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,775 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,777 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,781 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,783 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,789 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-05-04 17:03:00,789 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-05-04 17:03:00,790 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-05-04 17:03:00,790 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-05-04 17:03:00,791 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (1/1) ... [2023-05-04 17:03:00,796 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-05-04 17:03:00,814 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-04 17:03:00,825 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-04 17:03:00,829 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-04 17:03:00,857 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-05-04 17:03:00,858 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-05-04 17:03:00,858 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-05-04 17:03:00,858 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-05-04 17:03:00,858 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-05-04 17:03:00,858 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-05-04 17:03:00,858 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-05-04 17:03:00,858 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-05-04 17:03:00,858 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-05-04 17:03:00,858 INFO L130 BoogieDeclarations]: Found specification of procedure my_callback [2023-05-04 17:03:00,859 INFO L138 BoogieDeclarations]: Found implementation of procedure my_callback [2023-05-04 17:03:00,859 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-05-04 17:03:00,859 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-05-04 17:03:00,859 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-05-04 17:03:00,860 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2023-05-04 17:03:01,153 INFO L235 CfgBuilder]: Building ICFG [2023-05-04 17:03:01,155 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2023-05-04 17:03:01,385 INFO L276 CfgBuilder]: Performing block encoding [2023-05-04 17:03:01,427 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-05-04 17:03:01,427 INFO L300 CfgBuilder]: Removed 0 assume(true) statements. [2023-05-04 17:03:01,436 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.05 05:03:01 BoogieIcfgContainer [2023-05-04 17:03:01,437 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-05-04 17:03:01,440 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-05-04 17:03:01,440 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-05-04 17:03:01,443 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-05-04 17:03:01,443 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 04.05 05:02:59" (1/3) ... [2023-05-04 17:03:01,444 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3ce6e3f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.05 05:03:01, skipping insertion in model container [2023-05-04 17:03:01,444 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 05:03:00" (2/3) ... [2023-05-04 17:03:01,444 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3ce6e3f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.05 05:03:01, skipping insertion in model container [2023-05-04 17:03:01,445 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.05 05:03:01" (3/3) ... [2023-05-04 17:03:01,450 INFO L112 eAbstractionObserver]: Analyzing ICFG race-2_4-container_of.i [2023-05-04 17:03:01,459 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-05-04 17:03:01,468 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-05-04 17:03:01,468 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2023-05-04 17:03:01,468 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-05-04 17:03:01,523 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-05-04 17:03:01,568 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-05-04 17:03:01,570 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-05-04 17:03:01,571 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-04 17:03:01,577 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-04 17:03:01,598 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-04 17:03:01,616 INFO L162 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2023-05-04 17:03:01,632 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.start ======== [2023-05-04 17:03:01,638 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;@1947da2, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-05-04 17:03:01,638 INFO L358 AbstractCegarLoop]: Starting to check reachability of 8 error locations. [2023-05-04 17:03:13,818 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-04 17:03:13,823 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 17:03:13,824 INFO L85 PathProgramCache]: Analyzing trace with hash -928963854, now seen corresponding path program 1 times [2023-05-04 17:03:13,831 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 17:03:13,832 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2034389114] [2023-05-04 17:03:13,832 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 17:03:13,832 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 17:03:14,122 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 17:03:16,347 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-04 17:03:16,348 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-04 17:03:16,348 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2034389114] [2023-05-04 17:03:16,348 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2034389114] provided 1 perfect and 0 imperfect interpolant sequences [2023-05-04 17:03:16,349 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-05-04 17:03:16,349 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [18] imperfect sequences [] total 18 [2023-05-04 17:03:16,350 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1505323639] [2023-05-04 17:03:16,350 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-05-04 17:03:16,355 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 18 states [2023-05-04 17:03:16,356 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-04 17:03:16,373 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 18 interpolants. [2023-05-04 17:03:16,375 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=57, Invalid=249, Unknown=0, NotChecked=0, Total=306 [2023-05-04 17:03:16,377 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 17:03:16,378 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-04 17:03:16,379 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-04 17:03:16,379 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 17:03:23,253 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 17 states. [2023-05-04 17:03:23,254 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-05-04 17:03:23,254 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-04 17:03:23,255 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 17:03:23,255 INFO L85 PathProgramCache]: Analyzing trace with hash -361302934, now seen corresponding path program 1 times [2023-05-04 17:03:23,255 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 17:03:23,255 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1406705155] [2023-05-04 17:03:23,255 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 17:03:23,256 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 17:03:23,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 17:03:23,371 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-04 17:03:23,371 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-04 17:03:23,371 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1406705155] [2023-05-04 17:03:23,371 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1406705155] provided 1 perfect and 0 imperfect interpolant sequences [2023-05-04 17:03:23,371 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-05-04 17:03:23,371 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2023-05-04 17:03:23,372 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [138520967] [2023-05-04 17:03:23,372 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-05-04 17:03:23,373 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-05-04 17:03:23,373 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-04 17:03:23,374 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-05-04 17:03:23,375 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2023-05-04 17:03:23,375 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 17:03:23,375 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-04 17:03:23,376 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-04 17:03:23,376 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 17 states. [2023-05-04 17:03:23,376 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 17:03:24,637 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 17 states. [2023-05-04 17:03:24,638 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-05-04 17:03:24,638 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-05-04 17:03:24,638 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-04 17:03:24,640 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 17:03:24,640 INFO L85 PathProgramCache]: Analyzing trace with hash 1019310058, now seen corresponding path program 1 times [2023-05-04 17:03:24,640 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 17:03:24,641 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [456547628] [2023-05-04 17:03:24,641 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 17:03:24,641 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 17:03:24,729 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-05-04 17:03:24,730 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-05-04 17:03:24,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-05-04 17:03:24,836 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-05-04 17:03:24,836 INFO L359 BasicCegarLoop]: Counterexample is feasible [2023-05-04 17:03:24,838 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1ASSERT_VIOLATIONERROR_FUNCTION (7 of 8 remaining) [2023-05-04 17:03:24,843 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (6 of 8 remaining) [2023-05-04 17:03:24,844 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONERROR_FUNCTION (5 of 8 remaining) [2023-05-04 17:03:24,846 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONERROR_FUNCTION (4 of 8 remaining) [2023-05-04 17:03:24,847 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONERROR_FUNCTION (3 of 8 remaining) [2023-05-04 17:03:24,847 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONERROR_FUNCTION (2 of 8 remaining) [2023-05-04 17:03:24,848 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 8 remaining) [2023-05-04 17:03:24,848 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 8 remaining) [2023-05-04 17:03:24,848 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-05-04 17:03:24,865 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-05-04 17:03:24,869 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-05-04 17:03:24,869 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-05-04 17:03:24,977 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 04.05 05:03:24 BasicIcfg [2023-05-04 17:03:24,978 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-05-04 17:03:24,978 INFO L158 Benchmark]: Toolchain (without parser) took 25062.88ms. Allocated memory was 184.5MB in the beginning and 222.3MB in the end (delta: 37.7MB). Free memory was 161.9MB in the beginning and 152.5MB in the end (delta: 9.4MB). Peak memory consumption was 46.8MB. Max. memory is 8.0GB. [2023-05-04 17:03:24,978 INFO L158 Benchmark]: CDTParser took 0.11ms. Allocated memory is still 184.5MB. Free memory was 143.6MB in the beginning and 143.5MB in the end (delta: 151.8kB). There was no memory consumed. Max. memory is 8.0GB. [2023-05-04 17:03:24,979 INFO L158 Benchmark]: CACSL2BoogieTranslator took 762.83ms. Allocated memory is still 184.5MB. Free memory was 161.9MB in the beginning and 113.9MB in the end (delta: 48.0MB). Peak memory consumption was 52.1MB. Max. memory is 8.0GB. [2023-05-04 17:03:24,979 INFO L158 Benchmark]: Boogie Procedure Inliner took 62.21ms. Allocated memory is still 184.5MB. Free memory was 113.9MB in the beginning and 110.5MB in the end (delta: 3.4MB). Peak memory consumption was 3.1MB. Max. memory is 8.0GB. [2023-05-04 17:03:24,979 INFO L158 Benchmark]: Boogie Preprocessor took 37.82ms. Allocated memory is still 184.5MB. Free memory was 110.5MB in the beginning and 107.6MB in the end (delta: 2.9MB). Peak memory consumption was 3.1MB. Max. memory is 8.0GB. [2023-05-04 17:03:24,980 INFO L158 Benchmark]: RCFGBuilder took 647.14ms. Allocated memory was 184.5MB in the beginning and 222.3MB in the end (delta: 37.7MB). Free memory was 107.6MB in the beginning and 183.7MB in the end (delta: -76.1MB). Peak memory consumption was 19.0MB. Max. memory is 8.0GB. [2023-05-04 17:03:24,980 INFO L158 Benchmark]: TraceAbstraction took 23538.09ms. Allocated memory is still 222.3MB. Free memory was 182.1MB in the beginning and 152.5MB in the end (delta: 29.7MB). Peak memory consumption was 29.1MB. Max. memory is 8.0GB. [2023-05-04 17:03:24,983 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.11ms. Allocated memory is still 184.5MB. Free memory was 143.6MB in the beginning and 143.5MB in the end (delta: 151.8kB). There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 762.83ms. Allocated memory is still 184.5MB. Free memory was 161.9MB in the beginning and 113.9MB in the end (delta: 48.0MB). Peak memory consumption was 52.1MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 62.21ms. Allocated memory is still 184.5MB. Free memory was 113.9MB in the beginning and 110.5MB in the end (delta: 3.4MB). Peak memory consumption was 3.1MB. Max. memory is 8.0GB. * Boogie Preprocessor took 37.82ms. Allocated memory is still 184.5MB. Free memory was 110.5MB in the beginning and 107.6MB in the end (delta: 2.9MB). Peak memory consumption was 3.1MB. Max. memory is 8.0GB. * RCFGBuilder took 647.14ms. Allocated memory was 184.5MB in the beginning and 222.3MB in the end (delta: 37.7MB). Free memory was 107.6MB in the beginning and 183.7MB in the end (delta: -76.1MB). Peak memory consumption was 19.0MB. Max. memory is 8.0GB. * TraceAbstraction took 23538.09ms. Allocated memory is still 222.3MB. Free memory was 182.1MB in the beginning and 152.5MB in the end (delta: 29.7MB). Peak memory consumption was 29.1MB. 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: 18757, independent: 103, independent conditional: 52, independent unconditional: 51, dependent: 396, dependent conditional: 75, dependent unconditional: 321, unknown: 18258, unknown conditional: 2159, unknown unconditional: 16099] , 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.5s, 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: 18757, independent: 103, independent conditional: 52, independent unconditional: 51, dependent: 396, dependent conditional: 75, dependent unconditional: 321, unknown: 18258, unknown conditional: 2159, unknown unconditional: 16099] , 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: 23.3s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 1, EmptinessCheckTime: 20.3s, 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, 2.3s 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-04 17:03:25,041 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-04 17:03:25,242 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...