/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data --traceabstraction.trace.refinement.strategy BADGER --traceabstraction.cegar.restart.behaviour ONE_CEGAR_PER_ERROR_LOCATION --traceabstraction.dfs.order.used.in.por LOOP_LOCKSTEP -s ../../../trunk/examples/settings/gemcutter/SleepMap-ConcreteSmt-VarAbsGlobalSyntactic.epf --traceabstraction.coinflip.probability.value 95 --traceabstraction.coinflip.random.seed 0 --traceabstraction.coinflip.budget.determination.mode PURE -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/14_spin2003.i -------------------------------------------------------------------------------- This is Ultimate 0.2.2-wip.dk.por-optimizations-e57bdd3-m [2022-10-06 04:38:08,434 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-10-06 04:38:08,435 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-10-06 04:38:08,464 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-10-06 04:38:08,464 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-10-06 04:38:08,465 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-10-06 04:38:08,466 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-10-06 04:38:08,467 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-10-06 04:38:08,470 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-10-06 04:38:08,470 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-10-06 04:38:08,471 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-10-06 04:38:08,471 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-10-06 04:38:08,493 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-10-06 04:38:08,495 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-10-06 04:38:08,496 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-10-06 04:38:08,496 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-10-06 04:38:08,497 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-10-06 04:38:08,498 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-10-06 04:38:08,499 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-10-06 04:38:08,500 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-10-06 04:38:08,501 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-10-06 04:38:08,504 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-10-06 04:38:08,504 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-10-06 04:38:08,505 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-10-06 04:38:08,508 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-10-06 04:38:08,508 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-10-06 04:38:08,509 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-10-06 04:38:08,509 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-10-06 04:38:08,510 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-10-06 04:38:08,510 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-10-06 04:38:08,511 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-10-06 04:38:08,511 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-10-06 04:38:08,512 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-10-06 04:38:08,513 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-10-06 04:38:08,514 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-10-06 04:38:08,514 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-10-06 04:38:08,514 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-10-06 04:38:08,515 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-10-06 04:38:08,515 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-10-06 04:38:08,516 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-10-06 04:38:08,516 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-10-06 04:38:08,517 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/gemcutter/SleepMap-ConcreteSmt-VarAbsGlobalSyntactic.epf [2022-10-06 04:38:08,543 INFO L113 SettingsManager]: Loading preferences was successful [2022-10-06 04:38:08,544 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-10-06 04:38:08,545 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-10-06 04:38:08,545 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-10-06 04:38:08,546 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-10-06 04:38:08,546 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-10-06 04:38:08,548 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-10-06 04:38:08,549 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-10-06 04:38:08,549 INFO L138 SettingsManager]: * Use SBE=true [2022-10-06 04:38:08,549 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-10-06 04:38:08,550 INFO L138 SettingsManager]: * sizeof long=4 [2022-10-06 04:38:08,550 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-10-06 04:38:08,550 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-10-06 04:38:08,550 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-10-06 04:38:08,551 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-10-06 04:38:08,551 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-10-06 04:38:08,551 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-10-06 04:38:08,551 INFO L138 SettingsManager]: * sizeof long double=12 [2022-10-06 04:38:08,551 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-10-06 04:38:08,551 INFO L138 SettingsManager]: * Use constant arrays=true [2022-10-06 04:38:08,551 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-10-06 04:38:08,551 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-10-06 04:38:08,552 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-10-06 04:38:08,552 INFO L138 SettingsManager]: * To the following directory=./dump/ [2022-10-06 04:38:08,552 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-10-06 04:38:08,552 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-10-06 04:38:08,552 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-10-06 04:38:08,552 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-10-06 04:38:08,552 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2022-10-06 04:38:08,552 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-10-06 04:38:08,552 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-10-06 04:38:08,552 INFO L138 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2022-10-06 04:38:08,553 INFO L138 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2022-10-06 04:38:08,553 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2022-10-06 04:38:08,553 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2022-10-06 04:38:08,553 INFO L138 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_ERROR_LOCATION [2022-10-06 04:38:08,553 INFO L138 SettingsManager]: * Partial Order Reduction in concurrent analysis=SLEEP_NEW_STATES [2022-10-06 04:38:08,553 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-10-06 04:38:08,553 INFO L138 SettingsManager]: * Number of independence relations to use for POR=2 [2022-10-06 04:38:08,553 INFO L138 SettingsManager]: * Independence relation used for POR in concurrent analysis=SYNTACTIC 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: Trace refinement strategy -> BADGER 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.traceabstraction: DFS Order used in POR -> LOOP_LOCKSTEP Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Coinflip probability value -> 95 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Coinflip random seed -> 0 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Coinflip budget determination mode -> PURE 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 [2022-10-06 04:38:08,826 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-10-06 04:38:08,846 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-10-06 04:38:08,848 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-10-06 04:38:08,848 INFO L271 PluginConnector]: Initializing CDTParser... [2022-10-06 04:38:08,863 INFO L275 PluginConnector]: CDTParser initialized [2022-10-06 04:38:08,865 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/14_spin2003.i [2022-10-06 04:38:08,909 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0d6b8fb0a/1e10f7fec2574c8d88ef4a847df0c9f7/FLAG8a84ab235 [2022-10-06 04:38:09,268 INFO L306 CDTParser]: Found 1 translation units. [2022-10-06 04:38:09,269 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/14_spin2003.i [2022-10-06 04:38:09,280 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0d6b8fb0a/1e10f7fec2574c8d88ef4a847df0c9f7/FLAG8a84ab235 [2022-10-06 04:38:09,655 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0d6b8fb0a/1e10f7fec2574c8d88ef4a847df0c9f7 [2022-10-06 04:38:09,657 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-10-06 04:38:09,658 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2022-10-06 04:38:09,659 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-10-06 04:38:09,659 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-10-06 04:38:09,662 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-10-06 04:38:09,664 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.10 04:38:09" (1/1) ... [2022-10-06 04:38:09,666 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3308bb23 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:09, skipping insertion in model container [2022-10-06 04:38:09,666 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.10 04:38:09" (1/1) ... [2022-10-06 04:38:09,671 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-10-06 04:38:09,708 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-10-06 04:38:09,958 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/14_spin2003.i[30203,30216] [2022-10-06 04:38:09,964 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-10-06 04:38:09,970 INFO L203 MainTranslator]: Completed pre-run [2022-10-06 04:38:10,006 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/14_spin2003.i[30203,30216] [2022-10-06 04:38:10,012 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-10-06 04:38:10,040 INFO L208 MainTranslator]: Completed translation [2022-10-06 04:38:10,040 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10 WrapperNode [2022-10-06 04:38:10,040 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-10-06 04:38:10,041 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-10-06 04:38:10,042 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-10-06 04:38:10,042 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-10-06 04:38:10,047 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,071 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,084 INFO L138 Inliner]: procedures = 169, calls = 14, calls flagged for inlining = 6, calls inlined = 6, statements flattened = 47 [2022-10-06 04:38:10,084 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-10-06 04:38:10,085 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-10-06 04:38:10,085 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-10-06 04:38:10,085 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-10-06 04:38:10,090 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,090 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,095 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,095 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,102 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,105 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,106 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,107 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-10-06 04:38:10,108 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-10-06 04:38:10,108 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-10-06 04:38:10,108 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-10-06 04:38:10,108 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (1/1) ... [2022-10-06 04:38:10,112 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-10-06 04:38:10,128 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:10,139 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) [2022-10-06 04:38:10,144 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 [2022-10-06 04:38:10,168 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2022-10-06 04:38:10,169 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2022-10-06 04:38:10,169 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-10-06 04:38:10,169 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-10-06 04:38:10,169 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-10-06 04:38:10,169 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-10-06 04:38:10,169 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-10-06 04:38:10,169 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-10-06 04:38:10,170 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-10-06 04:38:10,171 WARN L208 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2022-10-06 04:38:10,288 INFO L234 CfgBuilder]: Building ICFG [2022-10-06 04:38:10,289 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2022-10-06 04:38:10,387 INFO L275 CfgBuilder]: Performing block encoding [2022-10-06 04:38:10,415 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-10-06 04:38:10,415 INFO L299 CfgBuilder]: Removed 1 assume(true) statements. [2022-10-06 04:38:10,419 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.10 04:38:10 BoogieIcfgContainer [2022-10-06 04:38:10,419 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-10-06 04:38:10,421 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-10-06 04:38:10,421 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-10-06 04:38:10,423 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-10-06 04:38:10,423 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.10 04:38:09" (1/3) ... [2022-10-06 04:38:10,423 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@29b8904c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.10 04:38:10, skipping insertion in model container [2022-10-06 04:38:10,423 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.10 04:38:10" (2/3) ... [2022-10-06 04:38:10,424 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@29b8904c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.10 04:38:10, skipping insertion in model container [2022-10-06 04:38:10,424 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.10 04:38:10" (3/3) ... [2022-10-06 04:38:10,424 INFO L112 eAbstractionObserver]: Analyzing ICFG 14_spin2003.i [2022-10-06 04:38:10,429 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2022-10-06 04:38:10,439 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-10-06 04:38:10,439 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2022-10-06 04:38:10,439 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2022-10-06 04:38:10,488 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2022-10-06 04:38:10,515 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:10,516 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:10,516 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:10,517 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) [2022-10-06 04:38:10,518 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 [2022-10-06 04:38:10,535 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:10,546 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:10,547 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:10,547 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:10,553 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2022-10-06 04:38:10,558 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:10,558 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:10,674 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:10,679 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:10,680 INFO L85 PathProgramCache]: Analyzing trace with hash -1851710578, now seen corresponding path program 1 times [2022-10-06 04:38:10,686 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:10,687 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1000354980] [2022-10-06 04:38:10,687 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:10,688 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:10,764 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:10,820 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-10-06 04:38:10,820 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:10,820 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1000354980] [2022-10-06 04:38:10,821 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1000354980] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:10,821 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:10,821 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:10,822 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [289075757] [2022-10-06 04:38:10,823 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:10,826 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:10,826 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:10,847 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:10,848 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:10,849 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:10,851 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:10,854 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 18.0) internal successors, (36), 2 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:10,854 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:10,881 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:10,882 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-10-06 04:38:10,882 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:10,882 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:10,883 INFO L85 PathProgramCache]: Analyzing trace with hash 157766264, now seen corresponding path program 1 times [2022-10-06 04:38:10,883 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:10,883 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1190642203] [2022-10-06 04:38:10,883 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:10,883 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:10,905 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:10,954 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-10-06 04:38:10,955 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:10,955 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1190642203] [2022-10-06 04:38:10,955 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1190642203] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:10,956 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:10,956 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:10,956 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [363016516] [2022-10-06 04:38:10,956 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:10,957 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:10,957 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:10,958 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:10,958 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:10,958 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:10,959 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:10,959 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 10.333333333333334) internal successors, (31), 3 states have internal predecessors, (31), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:10,959 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:10,959 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:10,987 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:10,988 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:10,988 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2022-10-06 04:38:10,988 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:10,989 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:10,989 INFO L85 PathProgramCache]: Analyzing trace with hash 1469538607, now seen corresponding path program 1 times [2022-10-06 04:38:10,989 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:10,989 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [17535229] [2022-10-06 04:38:10,989 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:10,990 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,013 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:11,049 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-10-06 04:38:11,050 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:11,050 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [17535229] [2022-10-06 04:38:11,050 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [17535229] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:11,050 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:11,050 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:11,050 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1619856692] [2022-10-06 04:38:11,051 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:11,051 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:11,051 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:11,051 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:11,052 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:11,052 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,052 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:11,052 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 17.0) internal successors, (34), 3 states have internal predecessors, (34), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:11,052 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,052 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,052 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,098 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,098 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,098 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,101 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2022-10-06 04:38:11,101 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2022-10-06 04:38:11,106 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:38:11,107 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (1/3) [2022-10-06 04:38:11,110 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:11,110 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:11,110 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:11,114 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) [2022-10-06 04:38:11,116 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:11,117 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:11,117 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:11,118 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:11,118 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2022-10-06 04:38:11,119 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:11,119 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:11,124 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 [2022-10-06 04:38:11,168 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:11,169 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:11,169 INFO L85 PathProgramCache]: Analyzing trace with hash -1851710577, now seen corresponding path program 1 times [2022-10-06 04:38:11,169 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:11,169 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [60922149] [2022-10-06 04:38:11,169 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:11,170 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:11,206 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-10-06 04:38:11,207 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:11,207 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [60922149] [2022-10-06 04:38:11,207 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [60922149] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:11,207 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:11,207 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:11,207 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [543472757] [2022-10-06 04:38:11,208 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:11,208 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:11,208 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:11,208 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:11,208 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:11,209 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,209 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:11,209 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 18.0) internal successors, (36), 2 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:11,209 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,219 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,219 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2022-10-06 04:38:11,219 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:11,220 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:11,220 INFO L85 PathProgramCache]: Analyzing trace with hash 157766265, now seen corresponding path program 1 times [2022-10-06 04:38:11,220 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:11,220 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1278883536] [2022-10-06 04:38:11,220 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:11,220 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,235 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:11,249 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-10-06 04:38:11,249 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:11,249 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1278883536] [2022-10-06 04:38:11,249 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1278883536] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:11,249 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:11,250 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:11,250 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [225264403] [2022-10-06 04:38:11,250 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:11,250 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:11,250 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:11,251 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:11,251 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:11,251 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,251 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:11,251 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 10.333333333333334) internal successors, (31), 3 states have internal predecessors, (31), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:11,251 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,251 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,282 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,283 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,283 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2022-10-06 04:38:11,283 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:11,284 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:11,284 INFO L85 PathProgramCache]: Analyzing trace with hash 1469538608, now seen corresponding path program 1 times [2022-10-06 04:38:11,284 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:11,284 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [601416348] [2022-10-06 04:38:11,284 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:11,284 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,306 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:11,371 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 4 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-10-06 04:38:11,371 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:11,371 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [601416348] [2022-10-06 04:38:11,371 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [601416348] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:11,371 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:11,372 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:11,372 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1350584518] [2022-10-06 04:38:11,372 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:11,372 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-10-06 04:38:11,372 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:11,373 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-10-06 04:38:11,373 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-10-06 04:38:11,373 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,373 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:11,373 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 11.333333333333334) internal successors, (34), 4 states have internal predecessors, (34), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:11,374 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,374 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,374 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,419 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,419 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,435 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,436 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2022-10-06 04:38:11,436 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2022-10-06 04:38:11,438 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:38:11,438 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (2/3) [2022-10-06 04:38:11,440 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:11,440 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:11,440 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:11,467 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) [2022-10-06 04:38:11,471 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:11,472 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:11,472 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:11,472 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:11,472 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES ======== [2022-10-06 04:38:11,473 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:11,473 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:11,487 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 [2022-10-06 04:38:11,518 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:38:11,519 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:11,519 INFO L85 PathProgramCache]: Analyzing trace with hash -1568452940, now seen corresponding path program 1 times [2022-10-06 04:38:11,519 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:11,519 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1125765491] [2022-10-06 04:38:11,519 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:11,519 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,547 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:11,555 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 5 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-10-06 04:38:11,556 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:11,556 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1125765491] [2022-10-06 04:38:11,556 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1125765491] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:11,556 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:11,556 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:11,556 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1648952893] [2022-10-06 04:38:11,556 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:11,557 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:11,557 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:11,557 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:11,557 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:11,557 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,558 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:11,558 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 18.5) internal successors, (37), 2 states have internal predecessors, (37), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:11,558 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,581 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,582 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2022-10-06 04:38:11,582 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:38:11,582 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:11,582 INFO L85 PathProgramCache]: Analyzing trace with hash 595787018, now seen corresponding path program 1 times [2022-10-06 04:38:11,582 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:11,583 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [426447421] [2022-10-06 04:38:11,583 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:11,583 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,596 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:11,617 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 5 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-10-06 04:38:11,617 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:11,617 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [426447421] [2022-10-06 04:38:11,617 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [426447421] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:11,617 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:11,617 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:11,619 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1011282039] [2022-10-06 04:38:11,619 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:11,620 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:11,620 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:11,621 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:11,621 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:11,621 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,621 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:11,621 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 10.666666666666666) internal successors, (32), 3 states have internal predecessors, (32), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:11,621 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,622 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,637 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,637 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,637 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2022-10-06 04:38:11,638 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:38:11,638 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:11,638 INFO L85 PathProgramCache]: Analyzing trace with hash -1688943309, now seen corresponding path program 1 times [2022-10-06 04:38:11,638 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:11,638 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1396366026] [2022-10-06 04:38:11,638 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:11,638 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,653 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-10-06 04:38:11,654 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-10-06 04:38:11,667 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-10-06 04:38:11,695 INFO L130 FreeRefinementEngine]: Strategy BADGER found a feasible trace [2022-10-06 04:38:11,696 INFO L359 BasicCegarLoop]: Counterexample is feasible [2022-10-06 04:38:11,696 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2022-10-06 04:38:11,696 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2022-10-06 04:38:11,697 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:38:11,698 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES was UNSAFE (3/3) [2022-10-06 04:38:11,698 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2022-10-06 04:38:11,698 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2022-10-06 04:38:11,710 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2022-10-06 04:38:11,712 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:11,712 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:11,712 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:11,713 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) [2022-10-06 04:38:11,714 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 [2022-10-06 04:38:11,718 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:11,719 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:11,719 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:11,719 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:11,719 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2022-10-06 04:38:11,719 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:11,719 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:11,755 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:11,755 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:11,755 INFO L85 PathProgramCache]: Analyzing trace with hash 343039251, now seen corresponding path program 1 times [2022-10-06 04:38:11,755 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:11,755 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1958336968] [2022-10-06 04:38:11,755 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:11,756 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,763 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:11,773 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 9 proven. 0 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2022-10-06 04:38:11,773 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:11,773 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1958336968] [2022-10-06 04:38:11,773 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1958336968] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:11,774 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:11,774 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:11,774 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [167421442] [2022-10-06 04:38:11,774 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:11,774 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:11,774 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:11,775 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:11,783 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:11,783 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,784 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:11,784 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 24.0) internal successors, (48), 2 states have internal predecessors, (48), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:11,784 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,818 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,818 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2022-10-06 04:38:11,818 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:11,818 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:11,818 INFO L85 PathProgramCache]: Analyzing trace with hash 1315467578, now seen corresponding path program 1 times [2022-10-06 04:38:11,819 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:11,819 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [205124952] [2022-10-06 04:38:11,819 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:11,819 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,826 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:11,838 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 9 proven. 0 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2022-10-06 04:38:11,838 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:11,839 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [205124952] [2022-10-06 04:38:11,839 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [205124952] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:11,839 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:11,839 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:11,839 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1988648920] [2022-10-06 04:38:11,839 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:11,839 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:11,839 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:11,840 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:11,840 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:11,840 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,840 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:11,840 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 12.666666666666666) internal successors, (38), 3 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:11,840 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,840 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,869 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,869 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,886 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10 [2022-10-06 04:38:11,886 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:11,886 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:11,887 INFO L85 PathProgramCache]: Analyzing trace with hash -1449207085, now seen corresponding path program 1 times [2022-10-06 04:38:11,887 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:11,887 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1641077623] [2022-10-06 04:38:11,887 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:11,887 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:11,906 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:11,934 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 8 proven. 0 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2022-10-06 04:38:11,935 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:11,935 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1641077623] [2022-10-06 04:38:11,935 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1641077623] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:11,935 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:11,935 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:11,935 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1503323148] [2022-10-06 04:38:11,935 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:11,936 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:11,936 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:11,936 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:11,936 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:11,936 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,936 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:11,937 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 22.0) internal successors, (44), 3 states have internal predecessors, (44), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:11,937 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:11,937 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:11,937 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,197 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,198 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:12,198 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:12,198 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2022-10-06 04:38:12,198 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2022-10-06 04:38:12,201 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:38:12,203 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (1/3) [2022-10-06 04:38:12,207 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:12,207 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:12,207 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:12,209 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) [2022-10-06 04:38:12,210 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 [2022-10-06 04:38:12,212 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:12,212 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:12,212 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:12,212 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:12,213 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2022-10-06 04:38:12,213 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:12,213 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:12,244 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:12,244 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:12,244 INFO L85 PathProgramCache]: Analyzing trace with hash 343039252, now seen corresponding path program 1 times [2022-10-06 04:38:12,244 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:12,244 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [632293999] [2022-10-06 04:38:12,244 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:12,244 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:12,258 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:12,275 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 9 proven. 0 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2022-10-06 04:38:12,275 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:12,275 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [632293999] [2022-10-06 04:38:12,275 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [632293999] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:12,275 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:12,275 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:12,275 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1413342587] [2022-10-06 04:38:12,276 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:12,276 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:12,276 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:12,276 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:12,276 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:12,276 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,276 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:12,277 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 24.0) internal successors, (48), 2 states have internal predecessors, (48), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:12,277 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,306 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,306 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable12 [2022-10-06 04:38:12,306 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:12,307 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:12,307 INFO L85 PathProgramCache]: Analyzing trace with hash 1315467579, now seen corresponding path program 1 times [2022-10-06 04:38:12,307 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:12,307 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [86828536] [2022-10-06 04:38:12,307 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:12,307 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:12,314 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:12,331 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 9 proven. 0 refuted. 0 times theorem prover too weak. 6 trivial. 0 not checked. [2022-10-06 04:38:12,331 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:12,331 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [86828536] [2022-10-06 04:38:12,331 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [86828536] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:12,331 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:12,331 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:12,331 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1163501002] [2022-10-06 04:38:12,332 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:12,332 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:12,332 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:12,332 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:12,333 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:12,333 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,333 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:12,333 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 12.666666666666666) internal successors, (38), 3 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:12,333 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,333 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,356 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,357 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:12,357 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable13 [2022-10-06 04:38:12,357 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:12,357 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:12,358 INFO L85 PathProgramCache]: Analyzing trace with hash -1449207084, now seen corresponding path program 1 times [2022-10-06 04:38:12,358 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:12,358 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [740467848] [2022-10-06 04:38:12,358 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:12,358 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:12,372 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:12,407 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 8 proven. 0 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2022-10-06 04:38:12,407 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:12,408 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [740467848] [2022-10-06 04:38:12,408 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [740467848] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:12,409 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:12,409 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:12,409 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1782655024] [2022-10-06 04:38:12,409 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:12,410 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-10-06 04:38:12,410 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:12,410 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-10-06 04:38:12,410 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-10-06 04:38:12,410 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,411 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:12,413 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 14.666666666666666) internal successors, (44), 4 states have internal predecessors, (44), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:12,413 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,413 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:12,414 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,620 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,621 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:12,621 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:12,621 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2022-10-06 04:38:12,621 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable14 [2022-10-06 04:38:12,623 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:38:12,623 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (2/3) [2022-10-06 04:38:12,627 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:12,627 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:12,627 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:12,672 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) [2022-10-06 04:38:12,673 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 [2022-10-06 04:38:12,675 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:12,676 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:12,676 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:12,676 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:12,676 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES ======== [2022-10-06 04:38:12,676 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:12,676 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:12,707 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:38:12,707 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:12,707 INFO L85 PathProgramCache]: Analyzing trace with hash 2044282430, now seen corresponding path program 1 times [2022-10-06 04:38:12,707 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:12,708 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [659051592] [2022-10-06 04:38:12,708 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:12,708 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:12,721 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:12,727 INFO L134 CoverageAnalysis]: Checked inductivity of 17 backedges. 10 proven. 0 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2022-10-06 04:38:12,728 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:12,728 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [659051592] [2022-10-06 04:38:12,728 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [659051592] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:12,728 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:12,728 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:12,729 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1104403079] [2022-10-06 04:38:12,729 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:12,730 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:12,730 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:12,730 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:12,730 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:12,730 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,731 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:12,731 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 24.0) internal successors, (48), 2 states have internal predecessors, (48), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:12,731 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,747 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,747 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable15 [2022-10-06 04:38:12,747 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:38:12,748 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:12,748 INFO L85 PathProgramCache]: Analyzing trace with hash 2124789495, now seen corresponding path program 1 times [2022-10-06 04:38:12,748 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:12,748 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [465044918] [2022-10-06 04:38:12,748 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:12,748 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:12,755 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:12,765 INFO L134 CoverageAnalysis]: Checked inductivity of 17 backedges. 10 proven. 0 refuted. 0 times theorem prover too weak. 7 trivial. 0 not checked. [2022-10-06 04:38:12,765 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:12,765 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [465044918] [2022-10-06 04:38:12,765 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [465044918] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:12,765 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:12,765 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:12,766 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [355953772] [2022-10-06 04:38:12,766 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:12,766 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:12,766 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:12,767 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:12,767 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:12,767 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,768 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:12,768 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 12.666666666666666) internal successors, (38), 3 states have internal predecessors, (38), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:12,768 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,768 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,784 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,784 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:12,785 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable16 [2022-10-06 04:38:12,785 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:38:12,785 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:12,785 INFO L85 PathProgramCache]: Analyzing trace with hash -1975746434, now seen corresponding path program 1 times [2022-10-06 04:38:12,785 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:12,785 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [826121390] [2022-10-06 04:38:12,785 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:12,785 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:12,798 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-10-06 04:38:12,798 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-10-06 04:38:12,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-10-06 04:38:12,817 INFO L130 FreeRefinementEngine]: Strategy BADGER found a feasible trace [2022-10-06 04:38:12,817 INFO L359 BasicCegarLoop]: Counterexample is feasible [2022-10-06 04:38:12,818 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2022-10-06 04:38:12,818 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable17 [2022-10-06 04:38:12,819 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:38:12,820 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES was UNSAFE (3/3) [2022-10-06 04:38:12,820 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2022-10-06 04:38:12,820 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2022-10-06 04:38:12,834 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2022-10-06 04:38:12,836 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:12,836 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:12,836 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:12,838 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) [2022-10-06 04:38:12,855 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:12,856 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:12,856 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:12,856 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:12,856 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2022-10-06 04:38:12,857 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:12,857 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:12,865 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 [2022-10-06 04:38:12,886 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:12,886 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:12,886 INFO L85 PathProgramCache]: Analyzing trace with hash 352069925, now seen corresponding path program 1 times [2022-10-06 04:38:12,886 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:12,886 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1265656050] [2022-10-06 04:38:12,886 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:12,887 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:12,897 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:12,907 INFO L134 CoverageAnalysis]: Checked inductivity of 33 backedges. 14 proven. 0 refuted. 0 times theorem prover too weak. 19 trivial. 0 not checked. [2022-10-06 04:38:12,907 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:12,907 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1265656050] [2022-10-06 04:38:12,907 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1265656050] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:12,907 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:12,907 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:12,908 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [111747539] [2022-10-06 04:38:12,908 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:12,908 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:12,908 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:12,908 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:12,908 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:12,908 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,908 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:12,909 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 29.5) internal successors, (59), 2 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:12,910 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,950 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,950 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable18 [2022-10-06 04:38:12,950 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:12,951 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:12,951 INFO L85 PathProgramCache]: Analyzing trace with hash -350256560, now seen corresponding path program 1 times [2022-10-06 04:38:12,951 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:12,951 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1417913989] [2022-10-06 04:38:12,951 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:12,951 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:12,959 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:12,971 INFO L134 CoverageAnalysis]: Checked inductivity of 33 backedges. 14 proven. 0 refuted. 0 times theorem prover too weak. 19 trivial. 0 not checked. [2022-10-06 04:38:12,971 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:12,972 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1417913989] [2022-10-06 04:38:12,972 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1417913989] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:12,972 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:12,972 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:12,972 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [609079784] [2022-10-06 04:38:12,972 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:12,972 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:12,972 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:12,972 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:12,973 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:12,973 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,973 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:12,973 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 14.666666666666666) internal successors, (44), 3 states have internal predecessors, (44), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:12,973 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,973 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,997 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:12,997 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:12,998 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable19 [2022-10-06 04:38:12,998 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:12,998 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:12,998 INFO L85 PathProgramCache]: Analyzing trace with hash -37017018, now seen corresponding path program 1 times [2022-10-06 04:38:12,998 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:12,998 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1726836883] [2022-10-06 04:38:12,998 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:12,999 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:13,011 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:13,040 INFO L134 CoverageAnalysis]: Checked inductivity of 33 backedges. 12 proven. 0 refuted. 0 times theorem prover too weak. 21 trivial. 0 not checked. [2022-10-06 04:38:13,041 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:13,041 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1726836883] [2022-10-06 04:38:13,041 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1726836883] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:13,041 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:13,041 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:13,041 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1613252985] [2022-10-06 04:38:13,041 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:13,042 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:13,042 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:13,042 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:13,042 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:13,043 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:13,043 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:13,043 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 26.5) internal successors, (53), 3 states have internal predecessors, (53), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:13,043 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:13,043 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:13,043 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,332 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,333 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:16,333 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:16,333 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2022-10-06 04:38:16,333 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable20 [2022-10-06 04:38:16,334 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:38:16,335 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (1/3) [2022-10-06 04:38:16,336 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:16,336 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:16,336 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:16,338 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) [2022-10-06 04:38:16,339 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 [2022-10-06 04:38:16,341 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:16,341 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:16,341 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:16,341 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:16,341 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2022-10-06 04:38:16,342 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:16,342 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:16,365 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:16,366 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:16,366 INFO L85 PathProgramCache]: Analyzing trace with hash 352069926, now seen corresponding path program 1 times [2022-10-06 04:38:16,366 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:16,366 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [70718374] [2022-10-06 04:38:16,366 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:16,366 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:16,374 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:16,379 INFO L134 CoverageAnalysis]: Checked inductivity of 33 backedges. 14 proven. 0 refuted. 0 times theorem prover too weak. 19 trivial. 0 not checked. [2022-10-06 04:38:16,379 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:16,379 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [70718374] [2022-10-06 04:38:16,379 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [70718374] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:16,379 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:16,379 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:16,380 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [878742405] [2022-10-06 04:38:16,380 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:16,380 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:16,380 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:16,380 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:16,380 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:16,380 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,381 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:16,381 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 29.5) internal successors, (59), 2 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:16,381 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,401 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,402 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable21 [2022-10-06 04:38:16,402 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:16,402 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:16,402 INFO L85 PathProgramCache]: Analyzing trace with hash -350256559, now seen corresponding path program 1 times [2022-10-06 04:38:16,402 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:16,402 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [459474325] [2022-10-06 04:38:16,402 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:16,403 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:16,409 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:16,417 INFO L134 CoverageAnalysis]: Checked inductivity of 33 backedges. 14 proven. 0 refuted. 0 times theorem prover too weak. 19 trivial. 0 not checked. [2022-10-06 04:38:16,418 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:16,418 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [459474325] [2022-10-06 04:38:16,418 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [459474325] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:16,418 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:16,418 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:16,419 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2017745098] [2022-10-06 04:38:16,419 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:16,419 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:16,419 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:16,419 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:16,420 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:16,420 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,420 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:16,420 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 14.666666666666666) internal successors, (44), 3 states have internal predecessors, (44), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:16,420 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,420 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,440 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,440 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:16,440 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable22 [2022-10-06 04:38:16,440 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:16,440 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:16,441 INFO L85 PathProgramCache]: Analyzing trace with hash -37017017, now seen corresponding path program 1 times [2022-10-06 04:38:16,441 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:16,441 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [247065133] [2022-10-06 04:38:16,441 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:16,441 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:16,453 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:16,487 INFO L134 CoverageAnalysis]: Checked inductivity of 33 backedges. 12 proven. 0 refuted. 0 times theorem prover too weak. 21 trivial. 0 not checked. [2022-10-06 04:38:16,488 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:16,488 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [247065133] [2022-10-06 04:38:16,488 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [247065133] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:16,488 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:16,488 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:16,488 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [287422469] [2022-10-06 04:38:16,488 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:16,488 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-10-06 04:38:16,488 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:16,489 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-10-06 04:38:16,489 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-10-06 04:38:16,489 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,489 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:16,489 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 17.666666666666668) internal successors, (53), 4 states have internal predecessors, (53), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:16,489 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:16,489 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:16,489 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,016 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,021 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:19,021 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:19,021 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2022-10-06 04:38:19,021 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable23 [2022-10-06 04:38:19,023 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:38:19,023 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (2/3) [2022-10-06 04:38:19,024 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:19,024 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:19,024 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:19,029 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) [2022-10-06 04:38:19,030 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 [2022-10-06 04:38:19,032 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:19,033 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:19,033 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:19,033 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:19,033 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES ======== [2022-10-06 04:38:19,033 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:19,034 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:19,047 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:38:19,047 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:19,047 INFO L85 PathProgramCache]: Analyzing trace with hash -1970733797, now seen corresponding path program 1 times [2022-10-06 04:38:19,047 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:19,047 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [39418037] [2022-10-06 04:38:19,047 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:19,048 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:19,060 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:19,066 INFO L134 CoverageAnalysis]: Checked inductivity of 36 backedges. 15 proven. 0 refuted. 0 times theorem prover too weak. 21 trivial. 0 not checked. [2022-10-06 04:38:19,067 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:19,067 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [39418037] [2022-10-06 04:38:19,067 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [39418037] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:19,067 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:19,067 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:19,067 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [890873159] [2022-10-06 04:38:19,067 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:19,067 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:19,068 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:19,068 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:19,068 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:19,068 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,069 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:19,069 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 29.5) internal successors, (59), 2 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:19,069 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,096 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,096 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable24 [2022-10-06 04:38:19,096 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:38:19,097 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:19,097 INFO L85 PathProgramCache]: Analyzing trace with hash 2026948944, now seen corresponding path program 1 times [2022-10-06 04:38:19,097 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:19,097 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1877736886] [2022-10-06 04:38:19,097 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:19,097 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:19,104 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:19,114 INFO L134 CoverageAnalysis]: Checked inductivity of 36 backedges. 15 proven. 0 refuted. 0 times theorem prover too weak. 21 trivial. 0 not checked. [2022-10-06 04:38:19,114 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:19,114 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1877736886] [2022-10-06 04:38:19,114 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1877736886] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:19,114 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:19,115 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:19,115 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [769146434] [2022-10-06 04:38:19,115 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:19,115 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:19,115 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:19,116 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:19,116 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:19,116 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,116 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:19,116 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 14.666666666666666) internal successors, (44), 3 states have internal predecessors, (44), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:19,116 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,116 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,132 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,132 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:19,133 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable25 [2022-10-06 04:38:19,133 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:38:19,133 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:19,133 INFO L85 PathProgramCache]: Analyzing trace with hash -1147527142, now seen corresponding path program 1 times [2022-10-06 04:38:19,134 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:19,134 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1032870618] [2022-10-06 04:38:19,134 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:19,134 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:19,145 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-10-06 04:38:19,145 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-10-06 04:38:19,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-10-06 04:38:19,158 INFO L130 FreeRefinementEngine]: Strategy BADGER found a feasible trace [2022-10-06 04:38:19,158 INFO L359 BasicCegarLoop]: Counterexample is feasible [2022-10-06 04:38:19,158 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2022-10-06 04:38:19,158 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable26 [2022-10-06 04:38:19,159 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:38:19,159 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES was UNSAFE (3/3) [2022-10-06 04:38:19,159 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2022-10-06 04:38:19,159 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2022-10-06 04:38:19,181 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2022-10-06 04:38:19,183 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:38:19,183 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:38:19,183 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:38:19,185 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) [2022-10-06 04:38:19,186 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 [2022-10-06 04:38:19,188 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:19,188 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:38:19,188 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:38:19,188 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:38:19,189 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2022-10-06 04:38:19,189 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:38:19,189 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:38:19,224 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:19,225 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:19,225 INFO L85 PathProgramCache]: Analyzing trace with hash 480960301, now seen corresponding path program 1 times [2022-10-06 04:38:19,225 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:19,225 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1169105185] [2022-10-06 04:38:19,225 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:19,225 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:19,233 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:19,240 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 19 proven. 0 refuted. 0 times theorem prover too weak. 39 trivial. 0 not checked. [2022-10-06 04:38:19,240 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:19,240 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1169105185] [2022-10-06 04:38:19,240 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1169105185] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:19,241 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:19,241 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:19,241 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1007596538] [2022-10-06 04:38:19,241 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:19,241 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:38:19,241 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:19,241 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:38:19,242 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:38:19,242 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,242 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:19,243 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 35.0) internal successors, (70), 2 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:19,243 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,276 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,276 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable27 [2022-10-06 04:38:19,277 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:19,277 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:19,277 INFO L85 PathProgramCache]: Analyzing trace with hash -780463861, now seen corresponding path program 1 times [2022-10-06 04:38:19,277 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:19,277 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [43584290] [2022-10-06 04:38:19,277 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:19,277 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:19,286 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:19,297 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 19 proven. 0 refuted. 0 times theorem prover too weak. 39 trivial. 0 not checked. [2022-10-06 04:38:19,298 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:19,298 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [43584290] [2022-10-06 04:38:19,298 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [43584290] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:19,298 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:19,298 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:38:19,298 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [939558886] [2022-10-06 04:38:19,298 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:19,298 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:19,299 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:19,299 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:19,299 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:19,299 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,299 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:19,300 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 16.666666666666668) internal successors, (50), 3 states have internal predecessors, (50), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:19,300 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,300 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,323 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,323 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:19,323 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable28 [2022-10-06 04:38:19,325 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:38:19,325 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:38:19,325 INFO L85 PathProgramCache]: Analyzing trace with hash 1130202797, now seen corresponding path program 1 times [2022-10-06 04:38:19,325 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:38:19,325 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [832951095] [2022-10-06 04:38:19,325 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:38:19,325 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:38:19,336 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:38:19,361 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 16 proven. 0 refuted. 0 times theorem prover too weak. 42 trivial. 0 not checked. [2022-10-06 04:38:19,361 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:38:19,361 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [832951095] [2022-10-06 04:38:19,361 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [832951095] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:38:19,362 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:38:19,362 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:38:19,362 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [487689341] [2022-10-06 04:38:19,362 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:38:19,362 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:38:19,362 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:38:19,363 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:38:19,363 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:38:19,363 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,363 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:38:19,363 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 31.0) internal successors, (62), 3 states have internal predecessors, (62), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:38:19,363 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:38:19,364 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:38:19,364 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,679 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,679 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:40:05,679 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:40:05,680 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2022-10-06 04:40:05,680 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable29 [2022-10-06 04:40:05,681 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:40:05,681 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (1/3) [2022-10-06 04:40:05,682 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:40:05,682 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:40:05,682 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:40:05,683 INFO L229 MonitoredProcess]: Starting monitored process 12 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2022-10-06 04:40:05,684 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (12)] Waiting until timeout for monitored process [2022-10-06 04:40:05,691 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:40:05,692 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:40:05,692 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:40:05,692 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:40:05,692 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2022-10-06 04:40:05,692 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:40:05,693 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:40:05,711 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:40:05,711 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:40:05,711 INFO L85 PathProgramCache]: Analyzing trace with hash 480960302, now seen corresponding path program 1 times [2022-10-06 04:40:05,711 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:40:05,711 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1099120465] [2022-10-06 04:40:05,711 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:40:05,712 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:40:05,728 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:40:05,734 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 19 proven. 0 refuted. 0 times theorem prover too weak. 39 trivial. 0 not checked. [2022-10-06 04:40:05,734 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:40:05,734 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1099120465] [2022-10-06 04:40:05,734 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1099120465] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:40:05,734 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:40:05,734 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:40:05,735 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1119685245] [2022-10-06 04:40:05,735 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:40:05,735 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:40:05,735 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:40:05,735 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:40:05,735 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:40:05,735 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,736 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:40:05,736 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 35.0) internal successors, (70), 2 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:40:05,736 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,760 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,760 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable30 [2022-10-06 04:40:05,760 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:40:05,761 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:40:05,761 INFO L85 PathProgramCache]: Analyzing trace with hash -780463860, now seen corresponding path program 1 times [2022-10-06 04:40:05,761 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:40:05,761 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1771211405] [2022-10-06 04:40:05,761 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:40:05,761 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:40:05,767 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:40:05,775 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 19 proven. 0 refuted. 0 times theorem prover too weak. 39 trivial. 0 not checked. [2022-10-06 04:40:05,776 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:40:05,776 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1771211405] [2022-10-06 04:40:05,776 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1771211405] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:40:05,776 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:40:05,776 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:40:05,776 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1818672228] [2022-10-06 04:40:05,776 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:40:05,776 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:40:05,776 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:40:05,777 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:40:05,777 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:40:05,777 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,777 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:40:05,777 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 16.666666666666668) internal successors, (50), 3 states have internal predecessors, (50), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:40:05,777 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,777 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,803 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,803 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:40:05,804 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable31 [2022-10-06 04:40:05,804 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE] === [2022-10-06 04:40:05,804 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:40:05,804 INFO L85 PathProgramCache]: Analyzing trace with hash 1130202798, now seen corresponding path program 1 times [2022-10-06 04:40:05,804 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:40:05,804 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [583597546] [2022-10-06 04:40:05,804 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:40:05,804 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:40:05,815 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:40:05,853 INFO L134 CoverageAnalysis]: Checked inductivity of 58 backedges. 16 proven. 0 refuted. 0 times theorem prover too weak. 42 trivial. 0 not checked. [2022-10-06 04:40:05,853 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:40:05,853 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [583597546] [2022-10-06 04:40:05,853 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [583597546] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:40:05,853 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:40:05,853 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:40:05,853 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1221308632] [2022-10-06 04:40:05,854 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:40:05,854 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2022-10-06 04:40:05,854 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:40:05,855 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2022-10-06 04:40:05,855 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2022-10-06 04:40:05,855 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,855 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:40:05,855 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 3 states have (on average 20.666666666666668) internal successors, (62), 4 states have internal predecessors, (62), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:40:05,855 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:40:05,855 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:40:05,855 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:41:56,436 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:41:56,437 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:41:56,437 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:41:56,437 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 1 remaining) [2022-10-06 04:41:56,437 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable32 [2022-10-06 04:41:56,447 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:41:56,448 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE was SAFE (2/3) [2022-10-06 04:41:56,449 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:41:56,449 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:41:56,449 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:41:56,451 INFO L229 MonitoredProcess]: Starting monitored process 13 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2022-10-06 04:41:56,452 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (13)] Waiting until timeout for monitored process [2022-10-06 04:41:56,458 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:41:56,459 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:41:56,459 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:41:56,459 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:41:56,459 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES ======== [2022-10-06 04:41:56,460 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:41:56,460 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-10-06 04:41:56,490 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:41:56,490 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:41:56,490 INFO L85 PathProgramCache]: Analyzing trace with hash 2024868083, now seen corresponding path program 1 times [2022-10-06 04:41:56,490 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:41:56,491 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1526442275] [2022-10-06 04:41:56,491 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:41:56,491 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:41:56,500 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:41:56,505 INFO L134 CoverageAnalysis]: Checked inductivity of 62 backedges. 20 proven. 0 refuted. 0 times theorem prover too weak. 42 trivial. 0 not checked. [2022-10-06 04:41:56,506 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:41:56,506 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1526442275] [2022-10-06 04:41:56,506 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1526442275] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:41:56,506 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:41:56,506 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-10-06 04:41:56,506 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [201478726] [2022-10-06 04:41:56,506 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:41:56,506 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-10-06 04:41:56,506 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:41:56,507 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-10-06 04:41:56,507 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-10-06 04:41:56,507 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:41:56,507 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:41:56,507 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 35.0) internal successors, (70), 2 states have internal predecessors, (70), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:41:56,507 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:41:56,528 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:41:56,528 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable33 [2022-10-06 04:41:56,528 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:41:56,529 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:41:56,529 INFO L85 PathProgramCache]: Analyzing trace with hash 1575424725, now seen corresponding path program 1 times [2022-10-06 04:41:56,529 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:41:56,529 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1259438782] [2022-10-06 04:41:56,529 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:41:56,529 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:41:56,535 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-10-06 04:41:56,542 INFO L134 CoverageAnalysis]: Checked inductivity of 62 backedges. 20 proven. 0 refuted. 0 times theorem prover too weak. 42 trivial. 0 not checked. [2022-10-06 04:41:56,542 INFO L136 FreeRefinementEngine]: Strategy BADGER found an infeasible trace [2022-10-06 04:41:56,542 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1259438782] [2022-10-06 04:41:56,543 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1259438782] provided 1 perfect and 0 imperfect interpolant sequences [2022-10-06 04:41:56,543 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-10-06 04:41:56,543 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-10-06 04:41:56,543 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2125729543] [2022-10-06 04:41:56,543 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-10-06 04:41:56,543 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-10-06 04:41:56,543 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy BADGER [2022-10-06 04:41:56,543 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-10-06 04:41:56,543 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-10-06 04:41:56,543 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:41:56,544 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-10-06 04:41:56,544 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 16.666666666666668) internal successors, (50), 3 states have internal predecessors, (50), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-10-06 04:41:56,544 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:41:56,544 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:41:56,561 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-10-06 04:41:56,562 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-10-06 04:41:56,562 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable34 [2022-10-06 04:41:56,562 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2022-10-06 04:41:56,562 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-10-06 04:41:56,562 INFO L85 PathProgramCache]: Analyzing trace with hash 676548979, now seen corresponding path program 1 times [2022-10-06 04:41:56,562 INFO L118 FreeRefinementEngine]: Executing refinement strategy BADGER [2022-10-06 04:41:56,562 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2113784376] [2022-10-06 04:41:56,563 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-10-06 04:41:56,563 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-10-06 04:41:56,574 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-10-06 04:41:56,574 INFO L352 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-10-06 04:41:56,583 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-10-06 04:41:56,592 INFO L130 FreeRefinementEngine]: Strategy BADGER found a feasible trace [2022-10-06 04:41:56,592 INFO L359 BasicCegarLoop]: Counterexample is feasible [2022-10-06 04:41:56,592 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 1 remaining) [2022-10-06 04:41:56,593 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable35 [2022-10-06 04:41:56,593 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2022-10-06 04:41:56,593 INFO L307 ceAbstractionStarter]: Result for error location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES was UNSAFE (3/3) [2022-10-06 04:41:56,593 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2022-10-06 04:41:56,593 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2022-10-06 04:41:56,603 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2022-10-06 04:41:56,604 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SYNTACTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-10-06 04:41:56,604 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-10-06 04:41:56,604 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2022-10-06 04:41:56,606 INFO L229 MonitoredProcess]: Starting monitored process 14 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2022-10-06 04:41:56,607 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (14)] Waiting until timeout for monitored process [2022-10-06 04:41:56,608 INFO L100 denceProviderFactory]: Independence Relation #2: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:41:56,609 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 2 independence relations. [2022-10-06 04:41:56,609 WARN L162 artialOrderCegarLoop]: Attention: Unsuitable combinations of independence relations may be unsound! [2022-10-06 04:41:56,609 WARN L163 artialOrderCegarLoop]: Only combine independence relations if you are sure the combination is sound. [2022-10-06 04:41:56,609 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE ======== [2022-10-06 04:41:56,609 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;@3841b13, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-10-06 04:41:56,610 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations.