/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata ./data -s ../../../trunk/examples/settings/gemcutter/NewStatesSleepPersistentFixedOrder.epf --traceabstraction.cegar.restart.behaviour ONE_CEGAR_PER_THREAD_INSTANCE --traceabstraction.maximal.amount.of.steps.the.threads.are.allowed.to.take.successively 1 --traceabstraction.enable.heuristic.with.loops.as.step.type false --traceabstraction.considered.threads.and.their.maximal.amount.of.steps '"3,2 1,1 2,2"' --traceabstraction.defines.what.statements.are.considered.a.step.in.por GLOBAL_READ_WRITE -tc ../../../trunk/examples/toolchains/AutomizerCInline.xml -i ../../../trunk/examples/svcomp/weaver/popl20-bad-counter-queue.wvr.c -------------------------------------------------------------------------------- This is Ultimate 0.2.2-wip.dk.orders-218013a [2023-05-04 09:16:35,358 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-05-04 09:16:35,360 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-05-04 09:16:35,401 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-05-04 09:16:35,402 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-05-04 09:16:35,405 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-05-04 09:16:35,406 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-05-04 09:16:35,414 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-05-04 09:16:35,415 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-05-04 09:16:35,420 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-05-04 09:16:35,420 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-05-04 09:16:35,422 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-05-04 09:16:35,422 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-05-04 09:16:35,425 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-05-04 09:16:35,427 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-05-04 09:16:35,428 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-05-04 09:16:35,428 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-05-04 09:16:35,429 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-05-04 09:16:35,431 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-05-04 09:16:35,435 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-05-04 09:16:35,436 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-05-04 09:16:35,437 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-05-04 09:16:35,438 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-05-04 09:16:35,439 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-05-04 09:16:35,445 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-05-04 09:16:35,446 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-05-04 09:16:35,446 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-05-04 09:16:35,447 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-05-04 09:16:35,447 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-05-04 09:16:35,448 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-05-04 09:16:35,448 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-05-04 09:16:35,449 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-05-04 09:16:35,450 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-05-04 09:16:35,451 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-05-04 09:16:35,452 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-05-04 09:16:35,452 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-05-04 09:16:35,452 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-05-04 09:16:35,452 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-05-04 09:16:35,452 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-05-04 09:16:35,453 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-05-04 09:16:35,454 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-05-04 09:16:35,454 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/gemcutter/NewStatesSleepPersistentFixedOrder.epf [2023-05-04 09:16:35,482 INFO L113 SettingsManager]: Loading preferences was successful [2023-05-04 09:16:35,483 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-05-04 09:16:35,483 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-05-04 09:16:35,483 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-05-04 09:16:35,484 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-05-04 09:16:35,484 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-05-04 09:16:35,485 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-05-04 09:16:35,485 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-05-04 09:16:35,485 INFO L138 SettingsManager]: * Use SBE=true [2023-05-04 09:16:35,485 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-05-04 09:16:35,486 INFO L138 SettingsManager]: * sizeof long=4 [2023-05-04 09:16:35,486 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-05-04 09:16:35,486 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-05-04 09:16:35,486 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-05-04 09:16:35,486 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-05-04 09:16:35,486 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-05-04 09:16:35,486 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-05-04 09:16:35,487 INFO L138 SettingsManager]: * sizeof long double=12 [2023-05-04 09:16:35,487 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2023-05-04 09:16:35,487 INFO L138 SettingsManager]: * Use constant arrays=true [2023-05-04 09:16:35,487 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-05-04 09:16:35,487 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-05-04 09:16:35,487 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-05-04 09:16:35,488 INFO L138 SettingsManager]: * To the following directory=./dump/ [2023-05-04 09:16:35,488 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-05-04 09:16:35,488 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-05-04 09:16:35,489 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-05-04 09:16:35,489 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-05-04 09:16:35,489 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-05-04 09:16:35,489 INFO L138 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-05-04 09:16:35,489 INFO L138 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2023-05-04 09:16:35,489 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-05-04 09:16:35,489 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-05-04 09:16:35,490 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2023-05-04 09:16:35,490 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-05-04 09:16:35,490 INFO L138 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2023-05-04 09:16:35,490 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: CEGAR restart behaviour -> ONE_CEGAR_PER_THREAD_INSTANCE Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Maximal amount of steps the threads are allowed to take successively -> 1 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Enable heuristic with loops as step type -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Considered threads and their maximal amount of steps -> 3,2 1,1 2,2 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Defines what statements are considered a step in POR -> GLOBAL_READ_WRITE [2023-05-04 09:16:35,680 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-05-04 09:16:35,699 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-05-04 09:16:35,701 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-05-04 09:16:35,701 INFO L271 PluginConnector]: Initializing CDTParser... [2023-05-04 09:16:35,703 INFO L275 PluginConnector]: CDTParser initialized [2023-05-04 09:16:35,703 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/weaver/popl20-bad-counter-queue.wvr.c [2023-05-04 09:16:35,759 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c14a275bd/a1e528ff15374d0c8b4b39bc65b46f1f/FLAGd71a708e2 [2023-05-04 09:16:36,138 INFO L306 CDTParser]: Found 1 translation units. [2023-05-04 09:16:36,138 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-bad-counter-queue.wvr.c [2023-05-04 09:16:36,143 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c14a275bd/a1e528ff15374d0c8b4b39bc65b46f1f/FLAGd71a708e2 [2023-05-04 09:16:36,552 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c14a275bd/a1e528ff15374d0c8b4b39bc65b46f1f [2023-05-04 09:16:36,554 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-05-04 09:16:36,555 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2023-05-04 09:16:36,556 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-05-04 09:16:36,556 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-05-04 09:16:36,561 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-05-04 09:16:36,561 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,562 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@11a3fb0f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36, skipping insertion in model container [2023-05-04 09:16:36,562 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,568 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-05-04 09:16:36,587 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-05-04 09:16:36,725 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-bad-counter-queue.wvr.c[2428,2441] [2023-05-04 09:16:36,733 INFO L210 PostProcessor]: Analyzing one entry point: main [2023-05-04 09:16:36,739 INFO L203 MainTranslator]: Completed pre-run [2023-05-04 09:16:36,755 WARN L230 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-bad-counter-queue.wvr.c[2428,2441] [2023-05-04 09:16:36,759 INFO L210 PostProcessor]: Analyzing one entry point: main [2023-05-04 09:16:36,772 INFO L208 MainTranslator]: Completed translation [2023-05-04 09:16:36,773 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36 WrapperNode [2023-05-04 09:16:36,773 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-05-04 09:16:36,774 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-05-04 09:16:36,774 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-05-04 09:16:36,774 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-05-04 09:16:36,780 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,796 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,832 INFO L138 Inliner]: procedures = 26, calls = 40, calls flagged for inlining = 12, calls inlined = 12, statements flattened = 144 [2023-05-04 09:16:36,833 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-05-04 09:16:36,834 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-05-04 09:16:36,834 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-05-04 09:16:36,834 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-05-04 09:16:36,841 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,841 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,853 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,853 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,859 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,864 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,865 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,866 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,868 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-05-04 09:16:36,869 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-05-04 09:16:36,874 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-05-04 09:16:36,874 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-05-04 09:16:36,876 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (1/1) ... [2023-05-04 09:16:36,881 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-05-04 09:16:36,889 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-04 09:16:36,898 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-05-04 09:16:36,904 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-05-04 09:16:36,927 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-05-04 09:16:36,927 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-05-04 09:16:36,927 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-05-04 09:16:36,927 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-05-04 09:16:36,927 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2023-05-04 09:16:36,927 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2023-05-04 09:16:36,927 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2023-05-04 09:16:36,928 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2023-05-04 09:16:36,928 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-05-04 09:16:36,928 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-05-04 09:16:36,928 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-05-04 09:16:36,928 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-05-04 09:16:36,928 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-05-04 09:16:36,928 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-05-04 09:16:36,928 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-05-04 09:16:36,929 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2023-05-04 09:16:37,073 INFO L235 CfgBuilder]: Building ICFG [2023-05-04 09:16:37,075 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2023-05-04 09:16:37,373 INFO L276 CfgBuilder]: Performing block encoding [2023-05-04 09:16:37,484 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-05-04 09:16:37,484 INFO L300 CfgBuilder]: Removed 3 assume(true) statements. [2023-05-04 09:16:37,491 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.05 09:16:37 BoogieIcfgContainer [2023-05-04 09:16:37,492 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-05-04 09:16:37,494 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-05-04 09:16:37,494 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-05-04 09:16:37,498 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-05-04 09:16:37,498 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 04.05 09:16:36" (1/3) ... [2023-05-04 09:16:37,499 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2e50a837 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.05 09:16:37, skipping insertion in model container [2023-05-04 09:16:37,499 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 04.05 09:16:36" (2/3) ... [2023-05-04 09:16:37,499 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2e50a837 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 04.05 09:16:37, skipping insertion in model container [2023-05-04 09:16:37,500 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 04.05 09:16:37" (3/3) ... [2023-05-04 09:16:37,501 INFO L112 eAbstractionObserver]: Analyzing ICFG popl20-bad-counter-queue.wvr.c [2023-05-04 09:16:37,513 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-05-04 09:16:37,521 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-05-04 09:16:37,521 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-05-04 09:16:37,521 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-05-04 09:16:37,592 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-05-04 09:16:37,642 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-05-04 09:16:37,643 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2023-05-04 09:16:37,643 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-04 09:16:37,653 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2023-05-04 09:16:37,670 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2023-05-04 09:16:37,693 INFO L162 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2023-05-04 09:16:37,707 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.start ======== [2023-05-04 09:16:37,716 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;@3ddcbeb9, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-05-04 09:16:37,716 INFO L358 AbstractCegarLoop]: Starting to check reachability of 3 error locations. [2023-05-04 09:16:37,842 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-05-04 09:16:37,846 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 09:16:37,846 INFO L85 PathProgramCache]: Analyzing trace with hash -1490182428, now seen corresponding path program 1 times [2023-05-04 09:16:37,854 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 09:16:37,854 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1760337328] [2023-05-04 09:16:37,855 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:37,855 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 09:16:37,983 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 09:16:38,090 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-05-04 09:16:38,091 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-04 09:16:38,091 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1760337328] [2023-05-04 09:16:38,091 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1760337328] provided 1 perfect and 0 imperfect interpolant sequences [2023-05-04 09:16:38,092 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-05-04 09:16:38,092 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-05-04 09:16:38,093 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1307362216] [2023-05-04 09:16:38,094 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-05-04 09:16:38,100 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-05-04 09:16:38,101 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-04 09:16:38,117 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-05-04 09:16:38,118 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-05-04 09:16:38,119 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:38,119 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-04 09:16:38,121 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 43.0) internal successors, (86), 2 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-05-04 09:16:38,121 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:38,168 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:38,168 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-05-04 09:16:38,168 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-05-04 09:16:38,169 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 09:16:38,169 INFO L85 PathProgramCache]: Analyzing trace with hash 1622853926, now seen corresponding path program 1 times [2023-05-04 09:16:38,169 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 09:16:38,170 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1498761193] [2023-05-04 09:16:38,170 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:38,170 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 09:16:38,237 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 09:16:38,552 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-05-04 09:16:38,552 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-04 09:16:38,553 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1498761193] [2023-05-04 09:16:38,553 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1498761193] provided 1 perfect and 0 imperfect interpolant sequences [2023-05-04 09:16:38,553 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-05-04 09:16:38,553 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2023-05-04 09:16:38,553 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1718987110] [2023-05-04 09:16:38,553 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-05-04 09:16:38,554 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-05-04 09:16:38,555 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-04 09:16:38,555 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-05-04 09:16:38,555 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2023-05-04 09:16:38,555 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:38,556 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-04 09:16:38,556 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 12.285714285714286) internal successors, (86), 7 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-05-04 09:16:38,556 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:38,556 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:38,698 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:38,698 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:38,699 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-05-04 09:16:38,699 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-05-04 09:16:38,699 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 09:16:38,699 INFO L85 PathProgramCache]: Analyzing trace with hash 532967160, now seen corresponding path program 1 times [2023-05-04 09:16:38,700 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 09:16:38,700 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1086606706] [2023-05-04 09:16:38,700 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:38,700 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 09:16:38,724 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 09:16:38,897 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-05-04 09:16:38,898 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-04 09:16:38,898 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1086606706] [2023-05-04 09:16:38,898 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1086606706] provided 0 perfect and 1 imperfect interpolant sequences [2023-05-04 09:16:38,898 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1600948686] [2023-05-04 09:16:38,898 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:38,898 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-05-04 09:16:38,899 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-04 09:16:38,901 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-05-04 09:16:38,901 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-05-04 09:16:39,023 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 09:16:39,026 INFO L263 TraceCheckSpWp]: Trace formula consists of 232 conjuncts, 6 conjunts are in the unsatisfiable core [2023-05-04 09:16:39,031 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-05-04 09:16:39,133 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-05-04 09:16:39,133 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-05-04 09:16:39,334 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-05-04 09:16:39,335 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1600948686] provided 1 perfect and 1 imperfect interpolant sequences [2023-05-04 09:16:39,335 INFO L184 FreeRefinementEngine]: Found 1 perfect and 2 imperfect interpolant sequences. [2023-05-04 09:16:39,335 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [8, 7] total 14 [2023-05-04 09:16:39,336 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2088630404] [2023-05-04 09:16:39,336 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-05-04 09:16:39,337 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-05-04 09:16:39,337 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-04 09:16:39,337 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-05-04 09:16:39,338 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=52, Invalid=130, Unknown=0, NotChecked=0, Total=182 [2023-05-04 09:16:39,338 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:39,338 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-04 09:16:39,338 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 13.285714285714286) internal successors, (93), 7 states have internal predecessors, (93), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-05-04 09:16:39,338 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:39,339 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:39,339 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:39,500 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:39,500 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:39,504 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:39,529 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2023-05-04 09:16:39,721 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable2 [2023-05-04 09:16:39,721 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-05-04 09:16:39,722 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 09:16:39,722 INFO L85 PathProgramCache]: Analyzing trace with hash -264566508, now seen corresponding path program 1 times [2023-05-04 09:16:39,722 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 09:16:39,722 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2005882617] [2023-05-04 09:16:39,722 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:39,722 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 09:16:39,762 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 09:16:39,959 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 1 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-05-04 09:16:39,960 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-04 09:16:39,960 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2005882617] [2023-05-04 09:16:39,961 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2005882617] provided 0 perfect and 1 imperfect interpolant sequences [2023-05-04 09:16:39,961 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [2102476002] [2023-05-04 09:16:39,961 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:39,961 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-05-04 09:16:39,961 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-04 09:16:39,965 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-05-04 09:16:39,995 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2023-05-04 09:16:40,081 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 09:16:40,083 INFO L263 TraceCheckSpWp]: Trace formula consists of 232 conjuncts, 6 conjunts are in the unsatisfiable core [2023-05-04 09:16:40,087 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-05-04 09:16:40,188 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 1 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-05-04 09:16:40,188 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-05-04 09:16:40,332 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-05-04 09:16:40,333 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleZ3 [2102476002] provided 1 perfect and 1 imperfect interpolant sequences [2023-05-04 09:16:40,333 INFO L184 FreeRefinementEngine]: Found 1 perfect and 2 imperfect interpolant sequences. [2023-05-04 09:16:40,333 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [8, 7] total 14 [2023-05-04 09:16:40,333 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [609035347] [2023-05-04 09:16:40,333 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-05-04 09:16:40,334 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2023-05-04 09:16:40,334 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-04 09:16:40,335 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2023-05-04 09:16:40,336 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=52, Invalid=130, Unknown=0, NotChecked=0, Total=182 [2023-05-04 09:16:40,336 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:40,336 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-04 09:16:40,336 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 13.285714285714286) internal successors, (93), 7 states have internal predecessors, (93), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-05-04 09:16:40,337 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:40,337 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:40,337 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:40,337 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:40,465 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:40,465 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:40,465 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:40,465 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:40,491 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2023-05-04 09:16:40,688 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3,4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-05-04 09:16:40,689 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-05-04 09:16:40,689 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 09:16:40,690 INFO L85 PathProgramCache]: Analyzing trace with hash -1679559966, now seen corresponding path program 1 times [2023-05-04 09:16:40,690 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 09:16:40,690 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1177571988] [2023-05-04 09:16:40,690 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:40,690 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 09:16:40,712 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 09:16:40,944 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 7 proven. 2 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-05-04 09:16:40,944 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-04 09:16:40,944 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1177571988] [2023-05-04 09:16:40,944 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1177571988] provided 0 perfect and 1 imperfect interpolant sequences [2023-05-04 09:16:40,945 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [244428166] [2023-05-04 09:16:40,945 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:40,945 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-05-04 09:16:40,945 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-04 09:16:40,946 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-05-04 09:16:40,971 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2023-05-04 09:16:41,041 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 09:16:41,043 INFO L263 TraceCheckSpWp]: Trace formula consists of 288 conjuncts, 10 conjunts are in the unsatisfiable core [2023-05-04 09:16:41,046 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-05-04 09:16:41,232 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 8 proven. 1 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-05-04 09:16:41,232 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-05-04 09:16:41,433 INFO L134 CoverageAnalysis]: Checked inductivity of 10 backedges. 8 proven. 1 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2023-05-04 09:16:41,433 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleZ3 [244428166] provided 0 perfect and 2 imperfect interpolant sequences [2023-05-04 09:16:41,433 INFO L184 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-05-04 09:16:41,433 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [11, 11, 11] total 24 [2023-05-04 09:16:41,434 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1749377174] [2023-05-04 09:16:41,434 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-05-04 09:16:41,434 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 24 states [2023-05-04 09:16:41,434 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-04 09:16:41,435 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 24 interpolants. [2023-05-04 09:16:41,435 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=118, Invalid=434, Unknown=0, NotChecked=0, Total=552 [2023-05-04 09:16:41,435 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:41,436 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-04 09:16:41,436 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 24 states, 24 states have (on average 7.916666666666667) internal successors, (190), 24 states have internal predecessors, (190), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-05-04 09:16:41,436 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:41,436 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:41,436 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:41,436 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:41,436 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:41,665 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:41,665 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:41,665 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:41,665 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:41,666 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 13 states. [2023-05-04 09:16:41,690 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Forceful destruction successful, exit code 0 [2023-05-04 09:16:41,887 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4,5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-05-04 09:16:41,888 INFO L420 AbstractCegarLoop]: === Iteration 6 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-05-04 09:16:41,889 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 09:16:41,889 INFO L85 PathProgramCache]: Analyzing trace with hash 1479018448, now seen corresponding path program 2 times [2023-05-04 09:16:41,889 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 09:16:41,889 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [287691047] [2023-05-04 09:16:41,889 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:41,889 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 09:16:41,911 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-05-04 09:16:42,141 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 4 proven. 10 refuted. 0 times theorem prover too weak. 4 trivial. 0 not checked. [2023-05-04 09:16:42,141 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-05-04 09:16:42,142 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [287691047] [2023-05-04 09:16:42,142 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [287691047] provided 0 perfect and 1 imperfect interpolant sequences [2023-05-04 09:16:42,146 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [876855626] [2023-05-04 09:16:42,147 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2023-05-04 09:16:42,147 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-05-04 09:16:42,148 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-05-04 09:16:42,149 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-05-04 09:16:42,176 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Waiting until timeout for monitored process [2023-05-04 09:16:42,272 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2023-05-04 09:16:42,272 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2023-05-04 09:16:42,274 INFO L263 TraceCheckSpWp]: Trace formula consists of 301 conjuncts, 8 conjunts are in the unsatisfiable core [2023-05-04 09:16:42,276 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-05-04 09:16:42,436 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 8 proven. 1 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2023-05-04 09:16:42,436 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-05-04 09:16:42,568 INFO L134 CoverageAnalysis]: Checked inductivity of 18 backedges. 7 proven. 2 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2023-05-04 09:16:42,569 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleZ3 [876855626] provided 0 perfect and 2 imperfect interpolant sequences [2023-05-04 09:16:42,569 INFO L184 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-05-04 09:16:42,569 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [11, 9, 9] total 24 [2023-05-04 09:16:42,569 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [646349773] [2023-05-04 09:16:42,569 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-05-04 09:16:42,570 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 24 states [2023-05-04 09:16:42,570 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-05-04 09:16:42,571 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 24 interpolants. [2023-05-04 09:16:42,571 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=67, Invalid=485, Unknown=0, NotChecked=0, Total=552 [2023-05-04 09:16:42,571 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:42,571 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2023-05-04 09:16:42,571 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 24 states, 24 states have (on average 7.791666666666667) internal successors, (187), 24 states have internal predecessors, (187), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-05-04 09:16:42,572 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:42,572 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:42,572 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:42,572 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:42,572 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 13 states. [2023-05-04 09:16:42,572 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:43,097 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-05-04 09:16:43,098 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:43,098 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:43,098 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2023-05-04 09:16:43,098 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 13 states. [2023-05-04 09:16:43,098 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 18 states. [2023-05-04 09:16:43,106 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (6)] Forceful destruction successful, exit code 0 [2023-05-04 09:16:43,299 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5,6 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-05-04 09:16:43,299 INFO L420 AbstractCegarLoop]: === Iteration 7 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-05-04 09:16:43,300 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2023-05-04 09:16:43,300 INFO L85 PathProgramCache]: Analyzing trace with hash 1832508086, now seen corresponding path program 3 times [2023-05-04 09:16:43,300 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-05-04 09:16:43,300 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [177969097] [2023-05-04 09:16:43,300 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-05-04 09:16:43,300 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-05-04 09:16:43,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-05-04 09:16:43,382 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-05-04 09:16:43,425 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-05-04 09:16:43,465 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-05-04 09:16:43,465 INFO L359 BasicCegarLoop]: Counterexample is feasible [2023-05-04 09:16:43,466 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 3 remaining) [2023-05-04 09:16:43,467 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 3 remaining) [2023-05-04 09:16:43,467 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 3 remaining) [2023-05-04 09:16:43,468 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-05-04 09:16:43,476 INFO L444 BasicCegarLoop]: Path program histogram: [3, 1, 1, 1, 1] [2023-05-04 09:16:43,481 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-05-04 09:16:43,481 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-05-04 09:16:43,583 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 04.05 09:16:43 BasicIcfg [2023-05-04 09:16:43,583 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-05-04 09:16:43,584 INFO L158 Benchmark]: Toolchain (without parser) took 7028.76ms. Allocated memory was 190.8MB in the beginning and 323.0MB in the end (delta: 132.1MB). Free memory was 157.9MB in the beginning and 154.0MB in the end (delta: 4.0MB). Peak memory consumption was 135.7MB. Max. memory is 8.0GB. [2023-05-04 09:16:43,584 INFO L158 Benchmark]: CDTParser took 0.11ms. Allocated memory is still 190.8MB. Free memory is still 144.4MB. There was no memory consumed. Max. memory is 8.0GB. [2023-05-04 09:16:43,585 INFO L158 Benchmark]: CACSL2BoogieTranslator took 217.16ms. Allocated memory was 190.8MB in the beginning and 268.4MB in the end (delta: 77.6MB). Free memory was 157.7MB in the beginning and 235.5MB in the end (delta: -77.8MB). Peak memory consumption was 7.3MB. Max. memory is 8.0GB. [2023-05-04 09:16:43,585 INFO L158 Benchmark]: Boogie Procedure Inliner took 59.05ms. Allocated memory is still 268.4MB. Free memory was 235.5MB in the beginning and 233.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. [2023-05-04 09:16:43,585 INFO L158 Benchmark]: Boogie Preprocessor took 34.75ms. Allocated memory is still 268.4MB. Free memory was 233.5MB in the beginning and 232.1MB in the end (delta: 1.4MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. [2023-05-04 09:16:43,585 INFO L158 Benchmark]: RCFGBuilder took 622.46ms. Allocated memory is still 268.4MB. Free memory was 231.7MB in the beginning and 205.9MB in the end (delta: 25.9MB). Peak memory consumption was 25.2MB. Max. memory is 8.0GB. [2023-05-04 09:16:43,586 INFO L158 Benchmark]: TraceAbstraction took 6089.12ms. Allocated memory was 268.4MB in the beginning and 323.0MB in the end (delta: 54.5MB). Free memory was 204.5MB in the beginning and 154.0MB in the end (delta: 50.5MB). Peak memory consumption was 105.4MB. Max. memory is 8.0GB. [2023-05-04 09:16:43,587 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.11ms. Allocated memory is still 190.8MB. Free memory is still 144.4MB. There was no memory consumed. Max. memory is 8.0GB. * CACSL2BoogieTranslator took 217.16ms. Allocated memory was 190.8MB in the beginning and 268.4MB in the end (delta: 77.6MB). Free memory was 157.7MB in the beginning and 235.5MB in the end (delta: -77.8MB). Peak memory consumption was 7.3MB. Max. memory is 8.0GB. * Boogie Procedure Inliner took 59.05ms. Allocated memory is still 268.4MB. Free memory was 235.5MB in the beginning and 233.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 8.0GB. * Boogie Preprocessor took 34.75ms. Allocated memory is still 268.4MB. Free memory was 233.5MB in the beginning and 232.1MB in the end (delta: 1.4MB). Peak memory consumption was 1.0MB. Max. memory is 8.0GB. * RCFGBuilder took 622.46ms. Allocated memory is still 268.4MB. Free memory was 231.7MB in the beginning and 205.9MB in the end (delta: 25.9MB). Peak memory consumption was 25.2MB. Max. memory is 8.0GB. * TraceAbstraction took 6089.12ms. Allocated memory was 268.4MB in the beginning and 323.0MB in the end (delta: 54.5MB). Free memory was 204.5MB in the beginning and 154.0MB in the end (delta: 50.5MB). Peak memory consumption was 105.4MB. Max. memory is 8.0GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Independence relation #1 benchmarks ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1391, independent: 1102, independent conditional: 248, independent unconditional: 854, dependent: 289, dependent conditional: 274, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1137, independent: 1102, independent conditional: 248, independent unconditional: 854, dependent: 35, dependent conditional: 20, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1137, independent: 1102, independent conditional: 248, independent unconditional: 854, dependent: 35, dependent conditional: 20, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1216, independent: 1102, independent conditional: 0, independent unconditional: 1102, dependent: 114, dependent conditional: 79, dependent unconditional: 35, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1216, independent: 1102, independent conditional: 0, independent unconditional: 1102, dependent: 114, dependent conditional: 10, dependent unconditional: 104, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1216, independent: 1102, independent conditional: 0, independent unconditional: 1102, dependent: 114, dependent conditional: 10, dependent unconditional: 104, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 751, independent: 731, independent conditional: 0, independent unconditional: 731, dependent: 20, dependent conditional: 5, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 751, independent: 730, independent conditional: 0, independent unconditional: 730, dependent: 21, dependent conditional: 0, dependent unconditional: 21, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 21, independent: 1, independent conditional: 0, independent unconditional: 1, dependent: 20, dependent conditional: 5, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 21, independent: 1, independent conditional: 0, independent unconditional: 1, dependent: 20, dependent conditional: 5, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 125, independent: 37, independent conditional: 0, independent unconditional: 37, dependent: 88, dependent conditional: 30, dependent unconditional: 58, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1216, independent: 371, independent conditional: 0, independent unconditional: 371, dependent: 94, dependent conditional: 5, dependent unconditional: 89, unknown: 751, unknown conditional: 5, unknown unconditional: 746] , Statistics on independence cache: Total cache size (in pairs): 751, Positive cache size: 731, Positive conditional cache size: 0, Positive unconditional cache size: 731, Negative cache size: 20, Negative conditional cache size: 5, Negative unconditional cache size: 15, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 69, Maximal queried relation: 5, Independence queries for same thread: 254 - StatisticsResult: Persistent set benchmarks Persistent set computation time: 0.1s, Number of persistent set computation: 156, Number of trivial persistent sets: 121, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 869, independent: 854, independent conditional: 0, independent unconditional: 854, dependent: 15, dependent conditional: 0, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1391, independent: 1102, independent conditional: 248, independent unconditional: 854, dependent: 289, dependent conditional: 274, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1137, independent: 1102, independent conditional: 248, independent unconditional: 854, dependent: 35, dependent conditional: 20, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1137, independent: 1102, independent conditional: 248, independent unconditional: 854, dependent: 35, dependent conditional: 20, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1216, independent: 1102, independent conditional: 0, independent unconditional: 1102, dependent: 114, dependent conditional: 79, dependent unconditional: 35, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1216, independent: 1102, independent conditional: 0, independent unconditional: 1102, dependent: 114, dependent conditional: 10, dependent unconditional: 104, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1216, independent: 1102, independent conditional: 0, independent unconditional: 1102, dependent: 114, dependent conditional: 10, dependent unconditional: 104, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 751, independent: 731, independent conditional: 0, independent unconditional: 731, dependent: 20, dependent conditional: 5, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 751, independent: 730, independent conditional: 0, independent unconditional: 730, dependent: 21, dependent conditional: 0, dependent unconditional: 21, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 21, independent: 1, independent conditional: 0, independent unconditional: 1, dependent: 20, dependent conditional: 5, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 21, independent: 1, independent conditional: 0, independent unconditional: 1, dependent: 20, dependent conditional: 5, dependent unconditional: 15, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 125, independent: 37, independent conditional: 0, independent unconditional: 37, dependent: 88, dependent conditional: 30, dependent unconditional: 58, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1216, independent: 371, independent conditional: 0, independent unconditional: 371, dependent: 94, dependent conditional: 5, dependent unconditional: 89, unknown: 751, unknown conditional: 5, unknown unconditional: 746] , Statistics on independence cache: Total cache size (in pairs): 751, Positive cache size: 731, Positive conditional cache size: 0, Positive unconditional cache size: 731, Negative cache size: 20, Negative conditional cache size: 5, Negative unconditional cache size: 15, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 69, Maximal queried relation: 5, Independence queries for same thread: 254 - CounterExampleResult [Line: 87]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L41] 0 int* A; VAL [A={0:0}] [L42] 0 int counter, N; VAL [A={0:0}, counter=0, N=0] [L75] 0 pthread_t t1, t2; VAL [A={0:0}, counter=0, N=0, t1={5:0}, t2={3:0}] [L77] 0 N = __VERIFIER_nondet_int() VAL [__VERIFIER_nondet_int()=2, A={0:0}, counter=0, N=2, t1={5:0}, t2={3:0}] [L78] CALL, EXPR 0 create_fresh_int_array(N) [L93] CALL 0 assume_abort_if_not(size >= 0) [L38] COND FALSE 0 !(!cond) VAL [\old(cond)=1, A={0:0}, cond=1, counter=0, N=2] [L93] RET 0 assume_abort_if_not(size >= 0) [L94] CALL 0 assume_abort_if_not(size <= (((size_t) 4294967295) / sizeof(int))) [L38] COND FALSE 0 !(!cond) VAL [\old(cond)=1, A={0:0}, cond=1, counter=0, N=2] [L94] RET 0 assume_abort_if_not(size <= (((size_t) 4294967295) / sizeof(int))) [L96] 0 int* arr = (int*)malloc(sizeof(int) * (size_t)size); VAL [\old(size)=2, A={0:0}, arr={-3:0}, counter=0, malloc(sizeof(int) * (size_t)size)={-3:0}, N=2, size=2] [L97] 0 int i = 0; VAL [\old(size)=2, A={0:0}, arr={-3:0}, counter=0, i=0, N=2, size=2] [L97] COND TRUE 0 i < size VAL [\old(size)=2, A={0:0}, arr={-3:0}, counter=0, i=0, N=2, size=2] [L98] 0 arr[i] = __VERIFIER_nondet_int() VAL [\old(size)=2, __VERIFIER_nondet_int()=-7, A={0:0}, arr={-3:0}, counter=0, i=0, N=2, size=2] [L97] 0 i++ VAL [\old(size)=2, A={0:0}, arr={-3:0}, counter=0, i=1, N=2, size=2] [L97] COND TRUE 0 i < size VAL [\old(size)=2, A={0:0}, arr={-3:0}, counter=0, i=1, N=2, size=2] [L98] 0 arr[i] = __VERIFIER_nondet_int() VAL [\old(size)=2, __VERIFIER_nondet_int()=-6, A={0:0}, arr={-3:0}, counter=0, i=1, N=2, size=2] [L97] 0 i++ VAL [\old(size)=2, A={0:0}, arr={-3:0}, counter=0, i=2, N=2, size=2] [L97] COND FALSE 0 !(i < size) VAL [\old(size)=2, A={0:0}, arr={-3:0}, counter=0, i=2, N=2, size=2] [L100] 0 return arr; VAL [\old(size)=2, \result={-3:0}, A={0:0}, arr={-3:0}, counter=0, i=2, N=2, size=2] [L78] RET, EXPR 0 create_fresh_int_array(N) [L78] 0 A = create_fresh_int_array(N) VAL [A={-3:0}, counter=0, create_fresh_int_array(N)={-3:0}, N=2, t1={5:0}, t2={3:0}] [L81] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [A={-3:0}, counter=0, N=2, pthread_create(&t1, 0, thread1, 0)=-2, t1={5:0}, t2={3:0}] [L49] 1 int i=0; VAL [A={-3:0}, counter=0, i=0, N=2] [L49] COND TRUE 1 i= 0 || a >= -2147483648 - b) [L38] COND FALSE 1 !(!cond) [L110] RET 1 assume_abort_if_not(b >= 0 || a >= -2147483648 - b) [L111] CALL 1 assume_abort_if_not(b <= 0 || a <= 2147483647 - b) [L38] COND FALSE 1 !(!cond) [L111] RET 1 assume_abort_if_not(b <= 0 || a <= 2147483647 - b) [L112] 1 return a + b; [L51] RET, EXPR 1 plus(counter, A[i]) [L51] 1 int tmp = plus(counter, A[i]); [L82] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [A={-3:0}, counter=0, N=2, pthread_create(&t2, 0, thread2, 0)=-1, t1={5:0}, t2={3:0}] [L62] 2 int i=0; VAL [A={-3:0}, counter=0, i=0, N=2] [L62] COND TRUE 2 i= b - 2147483648) [L38] COND FALSE 2 !(!cond) [L104] RET 2 assume_abort_if_not(b <= 0 || a >= b - 2147483648) [L105] CALL 2 assume_abort_if_not(b >= 0 || a <= b + 2147483647) [L38] COND FALSE 2 !(!cond) [L105] RET 2 assume_abort_if_not(b >= 0 || a <= b + 2147483647) [L106] 2 return a - b; [L64] RET, EXPR 2 minus(counter, A[i]) [L64] 2 int tmp = minus(counter, A[i]); [L83] 0 \read(t1) VAL [\read(t1)=-2, A={-3:0}, counter=0, N=2, t1={5:0}, t2={3:0}] [L54] 1 counter = tmp VAL [A={-3:0}, counter=-7, i=0, N=2, tmp=-7] [L67] 2 counter = tmp VAL [A={-3:0}, counter=7, i=0, N=2, tmp=7] [L62] 2 i++ VAL [A={-3:0}, counter=7, i=1, N=2, tmp=7] [L62] COND TRUE 2 i= b - 2147483648) [L38] COND FALSE 2 !(!cond) [L104] RET 2 assume_abort_if_not(b <= 0 || a >= b - 2147483648) [L105] CALL 2 assume_abort_if_not(b >= 0 || a <= b + 2147483647) [L38] COND FALSE 2 !(!cond) [L105] RET 2 assume_abort_if_not(b >= 0 || a <= b + 2147483647) [L106] 2 return a - b; [L64] RET, EXPR 2 minus(counter, A[i]) [L64] 2 int tmp = minus(counter, A[i]); [L67] 2 counter = tmp VAL [A={-3:0}, counter=13, i=1, N=2, tmp=13] [L51] EXPR 1 A[i] [L51] CALL, EXPR 1 plus(counter, A[i]) [L110] CALL 1 assume_abort_if_not(b >= 0 || a >= -2147483648 - b) [L38] COND FALSE 1 !(!cond) [L110] RET 1 assume_abort_if_not(b >= 0 || a >= -2147483648 - b) [L111] CALL 1 assume_abort_if_not(b <= 0 || a <= 2147483647 - b) [L38] COND FALSE 1 !(!cond) [L111] RET 1 assume_abort_if_not(b <= 0 || a <= 2147483647 - b) [L112] 1 return a + b; [L51] RET, EXPR 1 plus(counter, A[i]) [L51] 1 int tmp = plus(counter, A[i]); [L62] 2 i++ VAL [A={-3:0}, counter=13, i=2, N=2, tmp=13] [L62] COND FALSE 2 !(i