./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/weaver/popl20-threaded-sum-3.wvr.c --full-output --traceabstraction.dfs.order.used.in.por LOOP_LOCKSTEP --traceabstraction.additional.conditional.commutativity.checking COUNTEREXAMPLE --traceabstraction.criterion.for.conditional.commutativity.checking RANDOM --traceabstraction.probability.for.random.criterion 20 --traceabstraction.seed.for.random.criterion 213 -tc /storage/repos/ultimate/releaseScripts/default/benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version b86fb0b7 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterReach.xml -i ../../../trunk/examples/svcomp/weaver/popl20-threaded-sum-3.wvr.c -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 3ff96f1177b851e0082faef897c2fcf87c2462cab57ba2153c754c5e198aaf06 --traceabstraction.dfs.order.used.in.por LOOP_LOCKSTEP --traceabstraction.additional.conditional.commutativity.checking COUNTEREXAMPLE --traceabstraction.criterion.for.conditional.commutativity.checking RANDOM --traceabstraction.probability.for.random.criterion 20 --traceabstraction.seed.for.random.criterion 213 -tc /storage/repos/ultimate/releaseScripts/default/benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml --- Real Ultimate output --- This is Ultimate 0.2.5-wip.dk.conditional-comm-b86fb0b-m [2024-10-17 23:37:14,054 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-17 23:37:14,123 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf [2024-10-17 23:37:14,130 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-17 23:37:14,132 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-17 23:37:14,157 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-17 23:37:14,158 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-17 23:37:14,158 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-17 23:37:14,159 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-17 23:37:14,159 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-17 23:37:14,160 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-17 23:37:14,160 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-17 23:37:14,160 INFO L153 SettingsManager]: * Use SBE=true [2024-10-17 23:37:14,161 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-17 23:37:14,161 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-17 23:37:14,161 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-17 23:37:14,162 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-17 23:37:14,162 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-17 23:37:14,163 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-17 23:37:14,163 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-17 23:37:14,163 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-17 23:37:14,165 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-17 23:37:14,165 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-17 23:37:14,166 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-17 23:37:14,166 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-17 23:37:14,166 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-17 23:37:14,167 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-17 23:37:14,167 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-17 23:37:14,167 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-17 23:37:14,167 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-17 23:37:14,167 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-17 23:37:14,168 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-17 23:37:14,168 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-17 23:37:14,169 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-10-17 23:37:14,169 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-17 23:37:14,170 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-17 23:37:14,170 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-10-17 23:37:14,170 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-17 23:37:14,171 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-17 23:37:14,171 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-10-17 23:37:14,171 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-10-17 23:37:14,172 INFO L153 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/UGemCutter-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.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> GemCutter Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 3ff96f1177b851e0082faef897c2fcf87c2462cab57ba2153c754c5e198aaf06 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: Additional conditional commutativity checking -> COUNTEREXAMPLE Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Criterion for conditional commutativity checking -> RANDOM Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Probability for random criterion as percentage -> 20 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Seed for random criterion -> 213 [2024-10-17 23:37:14,428 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-17 23:37:14,452 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-17 23:37:14,455 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-17 23:37:14,456 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-17 23:37:14,457 INFO L274 PluginConnector]: CDTParser initialized [2024-10-17 23:37:14,458 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/weaver/popl20-threaded-sum-3.wvr.c [2024-10-17 23:37:15,922 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-17 23:37:16,123 INFO L384 CDTParser]: Found 1 translation units. [2024-10-17 23:37:16,123 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-threaded-sum-3.wvr.c [2024-10-17 23:37:16,138 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/be936f1dc/2f2010978850428ca4804c15d33469cb/FLAGd7c93e944 [2024-10-17 23:37:16,153 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/be936f1dc/2f2010978850428ca4804c15d33469cb [2024-10-17 23:37:16,159 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-17 23:37:16,161 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-17 23:37:16,162 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-17 23:37:16,162 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-17 23:37:16,168 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-17 23:37:16,169 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,170 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@45630e8a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16, skipping insertion in model container [2024-10-17 23:37:16,171 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,195 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-17 23:37:16,395 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-threaded-sum-3.wvr.c[2996,3009] [2024-10-17 23:37:16,404 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-17 23:37:16,411 INFO L200 MainTranslator]: Completed pre-run [2024-10-17 23:37:16,432 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/weaver/popl20-threaded-sum-3.wvr.c[2996,3009] [2024-10-17 23:37:16,433 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-17 23:37:16,448 INFO L204 MainTranslator]: Completed translation [2024-10-17 23:37:16,449 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16 WrapperNode [2024-10-17 23:37:16,449 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-17 23:37:16,450 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-17 23:37:16,450 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-17 23:37:16,450 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-17 23:37:16,456 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,463 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,478 INFO L138 Inliner]: procedures = 21, calls = 31, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 65 [2024-10-17 23:37:16,479 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-17 23:37:16,479 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-17 23:37:16,480 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-17 23:37:16,480 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-17 23:37:16,489 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,490 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,493 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,493 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,498 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,509 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,511 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,516 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,518 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-17 23:37:16,521 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-17 23:37:16,524 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-17 23:37:16,524 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-17 23:37:16,525 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (1/1) ... [2024-10-17 23:37:16,529 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-17 23:37:16,538 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-17 23:37:16,555 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2024-10-17 23:37:16,561 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2024-10-17 23:37:16,600 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-17 23:37:16,601 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-10-17 23:37:16,601 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-10-17 23:37:16,601 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-10-17 23:37:16,601 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-10-17 23:37:16,602 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2024-10-17 23:37:16,602 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2024-10-17 23:37:16,602 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-10-17 23:37:16,602 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-10-17 23:37:16,602 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-10-17 23:37:16,602 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-17 23:37:16,602 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-17 23:37:16,604 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-17 23:37:16,781 INFO L238 CfgBuilder]: Building ICFG [2024-10-17 23:37:16,784 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-17 23:37:17,016 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-17 23:37:17,016 INFO L287 CfgBuilder]: Performing block encoding [2024-10-17 23:37:17,205 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-17 23:37:17,205 INFO L314 CfgBuilder]: Removed 3 assume(true) statements. [2024-10-17 23:37:17,206 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.10 11:37:17 BoogieIcfgContainer [2024-10-17 23:37:17,206 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-17 23:37:17,209 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-17 23:37:17,209 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-17 23:37:17,212 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-17 23:37:17,212 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.10 11:37:16" (1/3) ... [2024-10-17 23:37:17,213 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2d87bb4a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.10 11:37:17, skipping insertion in model container [2024-10-17 23:37:17,214 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.10 11:37:16" (2/3) ... [2024-10-17 23:37:17,214 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2d87bb4a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.10 11:37:17, skipping insertion in model container [2024-10-17 23:37:17,214 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.10 11:37:17" (3/3) ... [2024-10-17 23:37:17,215 INFO L112 eAbstractionObserver]: Analyzing ICFG popl20-threaded-sum-3.wvr.c [2024-10-17 23:37:17,230 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-17 23:37:17,231 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-10-17 23:37:17,231 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-17 23:37:17,286 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2024-10-17 23:37:17,323 INFO L106 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-17 23:37:17,324 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2024-10-17 23:37:17,324 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-17 23:37:17,325 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2024-10-17 23:37:17,326 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2024-10-17 23:37:17,395 INFO L194 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2024-10-17 23:37:17,409 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-17 23:37:17,411 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == ULTIMATE.start ======== [2024-10-17 23:37:17,416 INFO L333 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, mAutomataTypeConcurrency=PARTIAL_ORDER_FA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, 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;@582e01b4, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms], mConComChecker=COUNTEREXAMPLE, mConComCheckerCriterion=RANDOM, mConComCheckerTraceCheckMode=GENERATOR, mConComCheckerLimitedChecksCriterion=false, mConComCheckerCriterionLimit=1, mConComCheckerRandomProb=20, mConComCheckerRandomSeed=213, mConComCheckerConditionCriterion=false [2024-10-17 23:37:17,416 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-10-17 23:37:19,524 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-10-17 23:37:19,530 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-17 23:37:19,531 INFO L85 PathProgramCache]: Analyzing trace with hash -580279337, now seen corresponding path program 1 times [2024-10-17 23:37:19,540 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-17 23:37:19,540 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1761283133] [2024-10-17 23:37:19,540 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-17 23:37:19,541 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-17 23:37:19,981 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-17 23:37:22,715 INFO L134 CoverageAnalysis]: Checked inductivity of 50 backedges. 0 proven. 50 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-17 23:37:22,716 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-17 23:37:22,717 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1761283133] [2024-10-17 23:37:22,717 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1761283133] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-17 23:37:22,718 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [955707013] [2024-10-17 23:37:22,718 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-17 23:37:22,718 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-17 23:37:22,718 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-17 23:37:22,721 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-10-17 23:37:22,722 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2024-10-17 23:37:22,826 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-17 23:37:22,832 INFO L255 TraceCheckSpWp]: Trace formula consists of 179 conjuncts, 23 conjuncts are in the unsatisfiable core [2024-10-17 23:37:22,838 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-17 23:37:24,148 INFO L134 CoverageAnalysis]: Checked inductivity of 50 backedges. 10 proven. 36 refuted. 0 times theorem prover too weak. 4 trivial. 0 not checked. [2024-10-17 23:37:24,149 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-10-17 23:37:25,161 INFO L134 CoverageAnalysis]: Checked inductivity of 50 backedges. 31 proven. 10 refuted. 0 times theorem prover too weak. 9 trivial. 0 not checked. [2024-10-17 23:37:25,161 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [955707013] provided 0 perfect and 2 imperfect interpolant sequences [2024-10-17 23:37:25,162 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-10-17 23:37:25,162 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [17, 13, 12] total 40 [2024-10-17 23:37:25,164 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1848675193] [2024-10-17 23:37:25,165 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-10-17 23:37:25,169 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 40 states [2024-10-17 23:37:25,169 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-17 23:37:25,196 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 40 interpolants. [2024-10-17 23:37:25,199 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=179, Invalid=1381, Unknown=0, NotChecked=0, Total=1560 [2024-10-17 23:37:25,200 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-17 23:37:25,202 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-17 23:37:25,204 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 40 states, 40 states have (on average 3.5) internal successors, (140), 40 states have internal predecessors, (140), 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) [2024-10-17 23:37:25,204 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-17 23:37:41,468 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 131 states. [2024-10-17 23:37:41,482 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2024-10-17 23:37:41,669 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable0 [2024-10-17 23:37:41,670 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-10-17 23:37:42,371 INFO L85 PathProgramCache]: Analyzing trace with hash -968171529, now seen corresponding path program 1 times [2024-10-17 23:37:42,373 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-17 23:37:42,373 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-17 23:37:44,183 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat Killed by 15