/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data --traceabstraction.cegar.restart.behaviour ONE_CEGAR_PER_ERROR_LOCATION -s ../../../trunk/examples/settings/gemcutter/SleepMap-ConcreteSmt-VarAbsGlobalSmt.epf -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml --cacsl2boogietranslator.check.unreachability.of.error.function.in.sv-comp.mode false --cacsl2boogietranslator.pointer.base.address.is.valid.at.dereference ASSERTandASSUME --cacsl2boogietranslator.pointer.to.allocated.memory.at.dereference ASSERTandASSUME --cacsl2boogietranslator.check.array.bounds.for.arrays.that.are.off.heap ASSERTandASSUME --cacsl2boogietranslator.check.if.freed.pointer.was.valid true --cacsl2boogietranslator.adapt.memory.model.on.pointer.casts.if.necessary true -i ../../../trunk/examples/svcomp/pthread-ext/39_rand_lock_p0_vs.i -------------------------------------------------------------------------------- This is Ultimate 0.2.3-wip.dk.dpor-95ec559 [2023-01-11 14:26:18,812 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-01-11 14:26:18,814 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-01-11 14:26:18,843 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-01-11 14:26:18,844 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-01-11 14:26:18,845 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-01-11 14:26:18,847 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-01-11 14:26:18,848 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-01-11 14:26:18,849 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-01-11 14:26:18,852 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-01-11 14:26:18,853 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-01-11 14:26:18,855 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-01-11 14:26:18,855 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-01-11 14:26:18,857 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-01-11 14:26:18,857 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-01-11 14:26:18,859 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-01-11 14:26:18,860 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-01-11 14:26:18,860 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-01-11 14:26:18,863 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-01-11 14:26:18,867 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-01-11 14:26:18,868 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-01-11 14:26:18,869 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-01-11 14:26:18,869 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-01-11 14:26:18,870 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-01-11 14:26:18,876 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-01-11 14:26:18,876 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-01-11 14:26:18,876 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-01-11 14:26:18,877 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-01-11 14:26:18,877 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-01-11 14:26:18,878 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-01-11 14:26:18,878 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-01-11 14:26:18,878 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-01-11 14:26:18,879 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-01-11 14:26:18,880 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-01-11 14:26:18,880 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-01-11 14:26:18,880 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-01-11 14:26:18,880 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-01-11 14:26:18,880 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-01-11 14:26:18,881 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-01-11 14:26:18,881 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-01-11 14:26:18,881 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-01-11 14:26:18,882 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/gemcutter/SleepMap-ConcreteSmt-VarAbsGlobalSmt.epf [2023-01-11 14:26:18,897 INFO L113 SettingsManager]: Loading preferences was successful [2023-01-11 14:26:18,897 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-01-11 14:26:18,897 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-01-11 14:26:18,897 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-01-11 14:26:18,898 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-01-11 14:26:18,898 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-01-11 14:26:18,898 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-01-11 14:26:18,898 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-01-11 14:26:18,898 INFO L138 SettingsManager]: * Use SBE=true [2023-01-11 14:26:18,898 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-01-11 14:26:18,898 INFO L138 SettingsManager]: * sizeof long=4 [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * sizeof long double=12 [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * Use constant arrays=true [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-01-11 14:26:18,899 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-01-11 14:26:18,899 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * To the following directory=./dump/ [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-01-11 14:26:18,900 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-01-11 14:26:18,900 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-01-11 14:26:18,901 INFO L138 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_ERROR_LOCATION [2023-01-11 14:26:18,901 INFO L138 SettingsManager]: * Partial Order Reduction in concurrent analysis=SLEEP_NEW_STATES [2023-01-11 14:26:18,901 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-01-11 14:26:18,901 INFO L138 SettingsManager]: * Number of independence relations to use for POR=2 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_ERROR_LOCATION Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check unreachability of error function in SV-COMP mode -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Pointer base address is valid at dereference -> ASSERTandASSUME Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Pointer to allocated memory at dereference -> ASSERTandASSUME Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check array bounds for arrays that are off heap -> ASSERTandASSUME Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Check if freed pointer was valid -> true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Adapt memory model on pointer casts if necessary -> true [2023-01-11 14:26:19,053 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-01-11 14:26:19,067 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-01-11 14:26:19,069 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-01-11 14:26:19,070 INFO L271 PluginConnector]: Initializing CDTParser... [2023-01-11 14:26:19,070 INFO L275 PluginConnector]: CDTParser initialized [2023-01-11 14:26:19,071 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/39_rand_lock_p0_vs.i [2023-01-11 14:26:19,944 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-01-11 14:26:20,169 INFO L351 CDTParser]: Found 1 translation units. [2023-01-11 14:26:20,170 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/39_rand_lock_p0_vs.i [2023-01-11 14:26:20,178 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f073de0df/3840507850194bacb1905f2d06acc677/FLAGaf868ecc8 [2023-01-11 14:26:20,188 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f073de0df/3840507850194bacb1905f2d06acc677 [2023-01-11 14:26:20,190 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-01-11 14:26:20,190 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2023-01-11 14:26:20,192 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-01-11 14:26:20,192 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-01-11 14:26:20,194 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-01-11 14:26:20,194 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,195 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5c0a7d9f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20, skipping insertion in model container [2023-01-11 14:26:20,195 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,199 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-01-11 14:26:20,224 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-01-11 14:26:20,322 WARN L631 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-01-11 14:26:20,395 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/39_rand_lock_p0_vs.i[30959,30972] [2023-01-11 14:26:20,399 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-01-11 14:26:20,411 INFO L203 MainTranslator]: Completed pre-run [2023-01-11 14:26:20,433 WARN L631 FunctionHandler]: implicit declaration of function __builtin_bswap16 [2023-01-11 14:26:20,459 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/39_rand_lock_p0_vs.i[30959,30972] [2023-01-11 14:26:20,461 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-01-11 14:26:20,481 WARN L663 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-01-11 14:26:20,481 WARN L663 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-01-11 14:26:20,481 WARN L663 CHandler]: The function __builtin_bswap16 is called, but not defined or handled by StandardFunctionHandler. [2023-01-11 14:26:20,488 INFO L208 MainTranslator]: Completed translation [2023-01-11 14:26:20,489 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20 WrapperNode [2023-01-11 14:26:20,489 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-01-11 14:26:20,490 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-01-11 14:26:20,490 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-01-11 14:26:20,490 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-01-11 14:26:20,495 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,521 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,540 INFO L138 Inliner]: procedures = 176, calls = 21, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 76 [2023-01-11 14:26:20,540 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-01-11 14:26:20,541 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-01-11 14:26:20,541 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-01-11 14:26:20,541 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-01-11 14:26:20,547 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,547 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,551 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,552 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,563 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,565 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,570 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,570 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,573 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-01-11 14:26:20,574 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-01-11 14:26:20,574 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-01-11 14:26:20,574 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-01-11 14:26:20,574 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (1/1) ... [2023-01-11 14:26:20,580 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-01-11 14:26:20,586 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:20,595 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-01-11 14:26:20,597 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-01-11 14:26:20,620 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-01-11 14:26:20,620 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-01-11 14:26:20,620 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-01-11 14:26:20,621 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-01-11 14:26:20,621 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-01-11 14:26:20,621 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-01-11 14:26:20,621 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-01-11 14:26:20,621 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-01-11 14:26:20,621 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-01-11 14:26:20,621 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-01-11 14:26:20,621 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-01-11 14:26:20,622 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-01-11 14:26:20,724 INFO L236 CfgBuilder]: Building ICFG [2023-01-11 14:26:20,725 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-01-11 14:26:20,878 INFO L277 CfgBuilder]: Performing block encoding [2023-01-11 14:26:20,917 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-01-11 14:26:20,917 INFO L302 CfgBuilder]: Removed 2 assume(true) statements. [2023-01-11 14:26:20,919 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.01 02:26:20 BoogieIcfgContainer [2023-01-11 14:26:20,919 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-01-11 14:26:20,920 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-01-11 14:26:20,920 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-01-11 14:26:20,931 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-01-11 14:26:20,931 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 11.01 02:26:20" (1/3) ... [2023-01-11 14:26:20,931 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@23286ff4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 11.01 02:26:20, skipping insertion in model container [2023-01-11 14:26:20,931 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.01 02:26:20" (2/3) ... [2023-01-11 14:26:20,932 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@23286ff4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 11.01 02:26:20, skipping insertion in model container [2023-01-11 14:26:20,932 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.01 02:26:20" (3/3) ... [2023-01-11 14:26:20,933 INFO L112 eAbstractionObserver]: Analyzing ICFG 39_rand_lock_p0_vs.i [2023-01-11 14:26:20,940 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-01-11 14:26:20,947 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-01-11 14:26:20,947 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2023-01-11 14:26:20,947 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-01-11 14:26:21,025 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-01-11 14:26:21,064 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,064 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:26:21,064 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:21,067 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-01-11 14:26:21,068 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-01-11 14:26:21,103 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,111 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:26:21,111 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:26:21,111 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:26:21,117 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2023-01-11 14:26:21,123 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,124 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:26:21,268 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2023-01-11 14:26:21,271 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:26:21,272 INFO L85 PathProgramCache]: Analyzing trace with hash 133166449, now seen corresponding path program 1 times [2023-01-11 14:26:21,278 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:26:21,278 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [749964285] [2023-01-11 14:26:21,278 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:26:21,278 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:26:21,343 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-01-11 14:26:21,404 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-01-11 14:26:21,405 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-01-11 14:26:21,405 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [749964285] [2023-01-11 14:26:21,405 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [749964285] provided 1 perfect and 0 imperfect interpolant sequences [2023-01-11 14:26:21,406 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-01-11 14:26:21,406 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-01-11 14:26:21,407 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1777838625] [2023-01-11 14:26:21,407 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-01-11 14:26:21,412 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-01-11 14:26:21,412 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-01-11 14:26:21,428 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-01-11 14:26:21,429 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-01-11 14:26:21,430 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:21,432 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-01-11 14:26:21,432 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 11.5) internal successors, (23), 3 states have internal predecessors, (23), 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-01-11 14:26:21,432 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:21,556 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-01-11 14:26:21,559 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2023-01-11 14:26:21,559 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-01-11 14:26:21,567 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-01-11 14:26:21,568 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (1/3) [2023-01-11 14:26:21,571 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,572 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:26:21,572 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:21,574 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-01-11 14:26:21,575 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (3)] Waiting until timeout for monitored process [2023-01-11 14:26:21,577 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,578 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:26:21,578 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:26:21,578 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:26:21,578 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2023-01-11 14:26:21,579 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,579 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:26:21,646 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2023-01-11 14:26:21,647 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:26:21,647 INFO L85 PathProgramCache]: Analyzing trace with hash 133166450, now seen corresponding path program 1 times [2023-01-11 14:26:21,647 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:26:21,647 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1384209400] [2023-01-11 14:26:21,647 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:26:21,647 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:26:21,660 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-01-11 14:26:21,747 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-01-11 14:26:21,748 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-01-11 14:26:21,748 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1384209400] [2023-01-11 14:26:21,748 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1384209400] provided 1 perfect and 0 imperfect interpolant sequences [2023-01-11 14:26:21,748 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-01-11 14:26:21,748 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-01-11 14:26:21,748 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1628897138] [2023-01-11 14:26:21,748 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-01-11 14:26:21,749 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-01-11 14:26:21,749 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-01-11 14:26:21,749 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-01-11 14:26:21,749 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-01-11 14:26:21,749 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:21,750 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-01-11 14:26:21,750 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 7.666666666666667) internal successors, (23), 4 states have internal predecessors, (23), 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-01-11 14:26:21,750 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:21,790 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-01-11 14:26:21,791 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2023-01-11 14:26:21,791 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-01-11 14:26:21,793 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-01-11 14:26:21,793 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (2/3) [2023-01-11 14:26:21,795 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,795 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:26:21,795 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:21,798 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-01-11 14:26:21,798 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (4)] Waiting until timeout for monitored process [2023-01-11 14:26:21,801 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,802 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:26:21,802 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:26:21,802 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:26:21,802 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES ======== [2023-01-11 14:26:21,802 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,803 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:26:21,833 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-01-11 14:26:21,833 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:26:21,834 INFO L85 PathProgramCache]: Analyzing trace with hash -166807178, now seen corresponding path program 1 times [2023-01-11 14:26:21,834 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:26:21,834 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1849216969] [2023-01-11 14:26:21,834 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:26:21,834 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:26:21,854 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-01-11 14:26:21,854 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-01-11 14:26:21,862 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-01-11 14:26:21,883 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-01-11 14:26:21,883 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-01-11 14:26:21,883 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-01-11 14:26:21,884 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-01-11 14:26:21,885 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-01-11 14:26:21,885 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES was UNSAFE (3/3) [2023-01-11 14:26:21,885 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-01-11 14:26:21,885 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-01-11 14:26:21,930 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-01-11 14:26:21,932 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,932 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:26:21,933 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:21,938 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-01-11 14:26:21,939 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (5)] Waiting until timeout for monitored process [2023-01-11 14:26:21,941 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,942 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:26:21,942 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:26:21,942 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:26:21,942 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2023-01-11 14:26:21,943 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:21,943 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:26:22,141 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2023-01-11 14:26:22,142 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:26:22,142 INFO L85 PathProgramCache]: Analyzing trace with hash -1781420687, now seen corresponding path program 1 times [2023-01-11 14:26:22,142 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:26:22,142 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1390202546] [2023-01-11 14:26:22,142 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:26:22,143 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:26:22,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-01-11 14:26:22,219 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 8 proven. 0 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2023-01-11 14:26:22,219 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-01-11 14:26:22,219 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1390202546] [2023-01-11 14:26:22,220 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1390202546] provided 1 perfect and 0 imperfect interpolant sequences [2023-01-11 14:26:22,220 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-01-11 14:26:22,220 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-01-11 14:26:22,220 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1590076471] [2023-01-11 14:26:22,220 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-01-11 14:26:22,221 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-01-11 14:26:22,221 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-01-11 14:26:22,221 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-01-11 14:26:22,222 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-01-11 14:26:22,222 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:22,222 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-01-11 14:26:22,222 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 12.5) internal successors, (25), 3 states have internal predecessors, (25), 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-01-11 14:26:22,222 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:22,936 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-01-11 14:26:22,937 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2023-01-11 14:26:22,937 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-01-11 14:26:22,943 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-01-11 14:26:22,943 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (1/3) [2023-01-11 14:26:22,950 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:22,950 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:26:22,950 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:22,954 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-01-11 14:26:22,955 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (6)] Waiting until timeout for monitored process [2023-01-11 14:26:22,957 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:22,958 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:26:22,958 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:26:22,958 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:26:22,958 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2023-01-11 14:26:22,958 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:22,958 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:26:23,130 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2023-01-11 14:26:23,131 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:26:23,131 INFO L85 PathProgramCache]: Analyzing trace with hash -1781420686, now seen corresponding path program 1 times [2023-01-11 14:26:23,131 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:26:23,131 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1883653658] [2023-01-11 14:26:23,131 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:26:23,131 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:26:23,153 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-01-11 14:26:23,211 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 8 proven. 0 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2023-01-11 14:26:23,211 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-01-11 14:26:23,211 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1883653658] [2023-01-11 14:26:23,211 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1883653658] provided 1 perfect and 0 imperfect interpolant sequences [2023-01-11 14:26:23,211 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-01-11 14:26:23,212 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-01-11 14:26:23,212 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [371215044] [2023-01-11 14:26:23,212 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-01-11 14:26:23,212 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-01-11 14:26:23,212 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-01-11 14:26:23,212 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-01-11 14:26:23,213 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-01-11 14:26:23,213 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:23,213 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-01-11 14:26:23,213 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 8.333333333333334) internal successors, (25), 4 states have internal predecessors, (25), 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-01-11 14:26:23,213 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:23,771 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-01-11 14:26:23,772 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2023-01-11 14:26:23,772 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-01-11 14:26:23,775 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-01-11 14:26:23,776 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (2/3) [2023-01-11 14:26:23,778 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:23,779 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:26:23,779 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:23,781 INFO L229 MonitoredProcess]: Starting monitored process 7 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-01-11 14:26:23,782 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (7)] Waiting until timeout for monitored process [2023-01-11 14:26:23,784 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:23,785 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:26:23,785 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:26:23,785 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:26:23,785 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES ======== [2023-01-11 14:26:23,785 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:23,785 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:26:23,825 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-01-11 14:26:23,826 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:26:23,826 INFO L85 PathProgramCache]: Analyzing trace with hash 610533995, now seen corresponding path program 1 times [2023-01-11 14:26:23,826 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:26:23,826 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1345866110] [2023-01-11 14:26:23,826 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:26:23,826 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:26:23,846 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-01-11 14:26:23,847 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-01-11 14:26:23,858 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-01-11 14:26:23,865 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-01-11 14:26:23,865 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-01-11 14:26:23,865 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-01-11 14:26:23,865 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-01-11 14:26:23,867 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-01-11 14:26:23,867 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES was UNSAFE (3/3) [2023-01-11 14:26:23,867 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-01-11 14:26:23,867 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-01-11 14:26:23,896 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-01-11 14:26:23,899 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:23,899 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:26:23,899 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:23,901 INFO L229 MonitoredProcess]: Starting monitored process 8 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-01-11 14:26:23,902 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (8)] Waiting until timeout for monitored process [2023-01-11 14:26:23,904 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:23,905 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:26:23,905 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:26:23,905 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:26:23,905 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2023-01-11 14:26:23,906 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:23,906 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:26:26,363 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2023-01-11 14:26:26,364 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:26:26,364 INFO L85 PathProgramCache]: Analyzing trace with hash 384195211, now seen corresponding path program 1 times [2023-01-11 14:26:26,364 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:26:26,364 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1996865245] [2023-01-11 14:26:26,364 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:26:26,364 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:26:26,371 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-01-11 14:26:26,389 INFO L134 CoverageAnalysis]: Checked inductivity of 33 backedges. 12 proven. 0 refuted. 0 times theorem prover too weak. 21 trivial. 0 not checked. [2023-01-11 14:26:26,390 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-01-11 14:26:26,390 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1996865245] [2023-01-11 14:26:26,390 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1996865245] provided 1 perfect and 0 imperfect interpolant sequences [2023-01-11 14:26:26,390 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-01-11 14:26:26,390 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-01-11 14:26:26,390 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [591333638] [2023-01-11 14:26:26,390 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-01-11 14:26:26,391 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-01-11 14:26:26,391 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-01-11 14:26:26,391 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-01-11 14:26:26,391 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-01-11 14:26:26,391 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:26,392 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-01-11 14:26:26,392 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 13.0) internal successors, (26), 3 states have internal predecessors, (26), 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-01-11 14:26:26,392 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:42,737 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-01-11 14:26:42,737 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2023-01-11 14:26:42,737 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-01-11 14:26:42,739 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-01-11 14:26:42,740 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (1/3) [2023-01-11 14:26:42,741 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:42,741 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:26:42,741 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:42,744 INFO L229 MonitoredProcess]: Starting monitored process 9 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-01-11 14:26:42,744 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (9)] Waiting until timeout for monitored process [2023-01-11 14:26:42,754 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:42,755 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:26:42,755 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:26:42,755 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:26:42,755 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2023-01-11 14:26:42,755 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:42,755 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:26:44,682 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2023-01-11 14:26:44,682 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:26:44,683 INFO L85 PathProgramCache]: Analyzing trace with hash 384195212, now seen corresponding path program 1 times [2023-01-11 14:26:44,683 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:26:44,683 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [581639050] [2023-01-11 14:26:44,683 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:26:44,683 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:26:44,691 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-01-11 14:26:44,726 INFO L134 CoverageAnalysis]: Checked inductivity of 33 backedges. 12 proven. 0 refuted. 0 times theorem prover too weak. 21 trivial. 0 not checked. [2023-01-11 14:26:44,726 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-01-11 14:26:44,726 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [581639050] [2023-01-11 14:26:44,726 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [581639050] provided 1 perfect and 0 imperfect interpolant sequences [2023-01-11 14:26:44,727 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-01-11 14:26:44,727 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2023-01-11 14:26:44,727 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1074755253] [2023-01-11 14:26:44,727 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-01-11 14:26:44,727 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2023-01-11 14:26:44,727 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-01-11 14:26:44,727 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2023-01-11 14:26:44,728 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2023-01-11 14:26:44,728 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:44,728 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-01-11 14:26:44,728 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 8.666666666666666) internal successors, (26), 4 states have internal predecessors, (26), 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-01-11 14:26:44,728 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:26:59,962 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-01-11 14:26:59,962 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2023-01-11 14:26:59,962 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-01-11 14:26:59,964 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-01-11 14:26:59,964 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (2/3) [2023-01-11 14:26:59,965 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:59,965 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:26:59,981 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:26:59,984 INFO L229 MonitoredProcess]: Starting monitored process 10 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-01-11 14:26:59,985 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (10)] Waiting until timeout for monitored process [2023-01-11 14:26:59,987 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:59,987 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:26:59,987 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:26:59,987 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:26:59,988 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES ======== [2023-01-11 14:26:59,988 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:26:59,988 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:27:00,050 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-01-11 14:27:00,051 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:27:00,051 INFO L85 PathProgramCache]: Analyzing trace with hash -974849547, now seen corresponding path program 1 times [2023-01-11 14:27:00,051 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:27:00,051 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1793400213] [2023-01-11 14:27:00,051 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:27:00,051 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:27:00,067 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-01-11 14:27:00,067 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-01-11 14:27:00,074 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-01-11 14:27:00,081 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-01-11 14:27:00,082 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-01-11 14:27:00,082 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2023-01-11 14:27:00,082 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-01-11 14:27:00,083 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-01-11 14:27:00,084 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES was UNSAFE (3/3) [2023-01-11 14:27:00,084 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-01-11 14:27:00,084 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-01-11 14:27:00,113 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-01-11 14:27:00,115 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:27:00,115 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-01-11 14:27:00,115 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-01-11 14:27:00,118 INFO L229 MonitoredProcess]: Starting monitored process 11 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-01-11 14:27:00,119 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (11)] Waiting until timeout for monitored process [2023-01-11 14:27:00,121 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:27:00,122 INFO L164 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2023-01-11 14:27:00,122 WARN L167 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2023-01-11 14:27:00,122 WARN L168 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2023-01-11 14:27:00,122 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2023-01-11 14:27:00,122 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;@6b62a679, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-01-11 14:27:00,122 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2023-01-11 14:29:17,520 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2023-01-11 14:29:17,521 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-01-11 14:29:17,521 INFO L85 PathProgramCache]: Analyzing trace with hash -341080782, now seen corresponding path program 1 times [2023-01-11 14:29:17,521 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-01-11 14:29:17,521 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2082055622] [2023-01-11 14:29:17,521 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-01-11 14:29:17,521 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-01-11 14:29:17,531 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-01-11 14:29:17,563 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 16 proven. 0 refuted. 0 times theorem prover too weak. 42 trivial. 0 not checked. [2023-01-11 14:29:17,563 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-01-11 14:29:17,563 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2082055622] [2023-01-11 14:29:17,563 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2082055622] provided 1 perfect and 0 imperfect interpolant sequences [2023-01-11 14:29:17,563 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-01-11 14:29:17,563 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-01-11 14:29:17,564 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1291091331] [2023-01-11 14:29:17,564 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-01-11 14:29:17,564 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-01-11 14:29:17,564 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-01-11 14:29:17,564 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-01-11 14:29:17,565 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-01-11 14:29:17,565 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-01-11 14:29:17,565 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-01-11 14:29:17,565 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 13.5) internal successors, (27), 3 states have internal predecessors, (27), 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-01-11 14:29:17,565 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states.