./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/pthread/twostage_3.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 38b53e6a Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/config/GemCutterReach.xml -i ../../sv-benchmarks/c/pthread/twostage_3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/config/svcomp-Reach-32bit-GemCutter_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH --witnessprinter.witness.filename witness.graphml --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 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c --- Real Ultimate output --- [0.001s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /sys/fs/cgroup/cpuset. This is Ultimate 0.2.2-dev-38b53e6 [2022-11-25 18:49:58,206 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-11-25 18:49:58,209 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-11-25 18:49:58,254 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-11-25 18:49:58,255 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-11-25 18:49:58,259 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-11-25 18:49:58,262 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-11-25 18:49:58,265 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-11-25 18:49:58,268 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-11-25 18:49:58,274 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-11-25 18:49:58,276 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-11-25 18:49:58,279 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-11-25 18:49:58,279 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-11-25 18:49:58,282 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-11-25 18:49:58,284 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-11-25 18:49:58,286 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-11-25 18:49:58,288 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-11-25 18:49:58,289 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-11-25 18:49:58,290 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-11-25 18:49:58,297 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-11-25 18:49:58,299 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-11-25 18:49:58,301 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-11-25 18:49:58,303 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-11-25 18:49:58,305 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-11-25 18:49:58,316 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-11-25 18:49:58,316 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-11-25 18:49:58,317 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-11-25 18:49:58,319 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-11-25 18:49:58,319 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-11-25 18:49:58,321 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-11-25 18:49:58,321 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-11-25 18:49:58,322 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-11-25 18:49:58,326 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-11-25 18:49:58,328 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-11-25 18:49:58,329 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-11-25 18:49:58,330 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-11-25 18:49:58,331 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-11-25 18:49:58,331 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-11-25 18:49:58,331 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-11-25 18:49:58,333 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-11-25 18:49:58,334 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-11-25 18:49:58,335 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/config/svcomp-Reach-32bit-GemCutter_Default.epf [2022-11-25 18:49:58,382 INFO L113 SettingsManager]: Loading preferences was successful [2022-11-25 18:49:58,382 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-11-25 18:49:58,383 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-11-25 18:49:58,384 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-11-25 18:49:58,384 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-11-25 18:49:58,385 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-11-25 18:49:58,386 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-11-25 18:49:58,386 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-11-25 18:49:58,386 INFO L138 SettingsManager]: * Use SBE=true [2022-11-25 18:49:58,386 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-11-25 18:49:58,388 INFO L138 SettingsManager]: * sizeof long=4 [2022-11-25 18:49:58,388 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-11-25 18:49:58,388 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-11-25 18:49:58,389 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-11-25 18:49:58,389 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-11-25 18:49:58,389 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-11-25 18:49:58,389 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-11-25 18:49:58,390 INFO L138 SettingsManager]: * sizeof long double=12 [2022-11-25 18:49:58,390 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-11-25 18:49:58,390 INFO L138 SettingsManager]: * Use constant arrays=true [2022-11-25 18:49:58,390 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-11-25 18:49:58,391 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-11-25 18:49:58,391 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-11-25 18:49:58,391 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-11-25 18:49:58,391 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-25 18:49:58,392 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-11-25 18:49:58,392 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-11-25 18:49:58,392 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2022-11-25 18:49:58,393 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-11-25 18:49:58,393 INFO L138 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2022-11-25 18:49:58,393 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-11-25 18:49:58,393 INFO L138 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2022-11-25 18:49:58,394 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2022-11-25 18:49:58,394 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2022-11-25 18:49:58,394 INFO L138 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2022-11-25 18:49:58,394 INFO L138 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2022-11-25 18:49:58,395 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:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 -> 9e65812efd79e833978ab1548160841e061a451f72b6ff490ed9b7c0a593a91c [2022-11-25 18:49:58,726 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-11-25 18:49:58,760 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-11-25 18:49:58,763 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-11-25 18:49:58,765 INFO L271 PluginConnector]: Initializing CDTParser... [2022-11-25 18:49:58,765 INFO L275 PluginConnector]: CDTParser initialized [2022-11-25 18:49:58,767 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/../../sv-benchmarks/c/pthread/twostage_3.i [2022-11-25 18:50:01,917 INFO L500 CDTParser]: Created temporary CDT project at NULL [2022-11-25 18:50:02,331 INFO L351 CDTParser]: Found 1 translation units. [2022-11-25 18:50:02,332 INFO L172 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/sv-benchmarks/c/pthread/twostage_3.i [2022-11-25 18:50:02,358 INFO L394 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/data/9a9d6592f/0eec0496402849d78604bdeb5cee68d0/FLAG55017aed8 [2022-11-25 18:50:02,377 INFO L402 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/data/9a9d6592f/0eec0496402849d78604bdeb5cee68d0 [2022-11-25 18:50:02,383 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-11-25 18:50:02,385 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-11-25 18:50:02,389 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-11-25 18:50:02,389 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-11-25 18:50:02,394 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-11-25 18:50:02,395 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 06:50:02" (1/1) ... [2022-11-25 18:50:02,396 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@275a1450 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:02, skipping insertion in model container [2022-11-25 18:50:02,397 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 06:50:02" (1/1) ... [2022-11-25 18:50:02,406 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-11-25 18:50:02,480 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-11-25 18:50:03,240 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,242 WARN L237 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-11-25 18:50:03,248 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,252 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,253 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,259 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,272 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,275 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,278 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,288 WARN L1576 CHandler]: Possible shadowing of function lock [2022-11-25 18:50:03,288 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,289 WARN L1576 CHandler]: Possible shadowing of function lock [2022-11-25 18:50:03,290 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,291 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-25 18:50:03,304 INFO L203 MainTranslator]: Completed pre-run [2022-11-25 18:50:03,397 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,398 WARN L237 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-11-25 18:50:03,399 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,401 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,402 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,414 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,425 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,439 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,441 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,443 WARN L1576 CHandler]: Possible shadowing of function lock [2022-11-25 18:50:03,444 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,445 WARN L1576 CHandler]: Possible shadowing of function lock [2022-11-25 18:50:03,445 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 18:50:03,446 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-25 18:50:03,538 INFO L208 MainTranslator]: Completed translation [2022-11-25 18:50:03,539 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03 WrapperNode [2022-11-25 18:50:03,539 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-11-25 18:50:03,541 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-11-25 18:50:03,541 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-11-25 18:50:03,541 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-11-25 18:50:03,549 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,583 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,636 INFO L138 Inliner]: procedures = 372, calls = 47, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 157 [2022-11-25 18:50:03,637 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-11-25 18:50:03,637 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-11-25 18:50:03,638 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-11-25 18:50:03,638 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-11-25 18:50:03,649 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,650 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,666 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,669 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,677 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,695 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,697 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,708 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,719 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-11-25 18:50:03,720 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-11-25 18:50:03,720 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-11-25 18:50:03,720 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-11-25 18:50:03,721 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (1/1) ... [2022-11-25 18:50:03,728 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-25 18:50:03,743 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 [2022-11-25 18:50:03,764 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-11-25 18:50:03,826 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-11-25 18:50:03,852 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2022-11-25 18:50:03,852 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2022-11-25 18:50:03,853 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2022-11-25 18:50:03,854 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2022-11-25 18:50:03,854 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-11-25 18:50:03,855 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-11-25 18:50:03,855 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-11-25 18:50:03,856 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-11-25 18:50:03,856 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2022-11-25 18:50:03,856 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2022-11-25 18:50:03,856 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-11-25 18:50:03,857 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-11-25 18:50:03,857 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-11-25 18:50:03,857 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-11-25 18:50:03,859 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2022-11-25 18:50:04,104 INFO L235 CfgBuilder]: Building ICFG [2022-11-25 18:50:04,106 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2022-11-25 18:50:04,531 INFO L276 CfgBuilder]: Performing block encoding [2022-11-25 18:50:04,542 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-11-25 18:50:04,542 INFO L300 CfgBuilder]: Removed 4 assume(true) statements. [2022-11-25 18:50:04,545 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 06:50:04 BoogieIcfgContainer [2022-11-25 18:50:04,545 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-11-25 18:50:04,548 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-11-25 18:50:04,549 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-11-25 18:50:04,552 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-11-25 18:50:04,553 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 25.11 06:50:02" (1/3) ... [2022-11-25 18:50:04,553 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@335904c1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 25.11 06:50:04, skipping insertion in model container [2022-11-25 18:50:04,554 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 06:50:03" (2/3) ... [2022-11-25 18:50:04,554 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@335904c1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 25.11 06:50:04, skipping insertion in model container [2022-11-25 18:50:04,554 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 06:50:04" (3/3) ... [2022-11-25 18:50:04,556 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2022-11-25 18:50:04,566 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2022-11-25 18:50:04,578 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-11-25 18:50:04,578 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2022-11-25 18:50:04,578 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2022-11-25 18:50:04,667 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2022-11-25 18:50:04,724 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-11-25 18:50:04,725 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2022-11-25 18:50:04,725 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 [2022-11-25 18:50:04,726 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2022-11-25 18:50:04,727 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2022-11-25 18:50:04,781 INFO L159 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2022-11-25 18:50:04,802 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == funcBThread1of1ForFork1 ======== [2022-11-25 18:50:04,809 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;@7a89595b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-11-25 18:50:04,809 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2022-11-25 18:50:05,078 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2022-11-25 18:50:05,084 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-25 18:50:05,084 INFO L85 PathProgramCache]: Analyzing trace with hash 1765854584, now seen corresponding path program 1 times [2022-11-25 18:50:05,095 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-25 18:50:05,095 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [988369315] [2022-11-25 18:50:05,095 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-25 18:50:05,096 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-25 18:50:05,238 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-25 18:50:05,371 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-11-25 18:50:05,371 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-25 18:50:05,371 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [988369315] [2022-11-25 18:50:05,372 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [988369315] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-25 18:50:05,373 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-11-25 18:50:05,373 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-11-25 18:50:05,374 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1354865817] [2022-11-25 18:50:05,375 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-25 18:50:05,383 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-11-25 18:50:05,383 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-25 18:50:05,418 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-11-25 18:50:05,418 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-11-25 18:50:05,419 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:05,421 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-11-25 18:50:05,422 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 44.0) internal successors, (88), 2 states have internal predecessors, (88), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-25 18:50:05,422 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:05,474 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:05,474 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-11-25 18:50:05,474 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2022-11-25 18:50:05,475 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-25 18:50:05,475 INFO L85 PathProgramCache]: Analyzing trace with hash 1275654793, now seen corresponding path program 1 times [2022-11-25 18:50:05,476 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-25 18:50:05,476 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1983474660] [2022-11-25 18:50:05,476 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-25 18:50:05,476 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-25 18:50:05,533 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-25 18:50:05,761 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-11-25 18:50:05,761 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-25 18:50:05,762 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1983474660] [2022-11-25 18:50:05,762 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1983474660] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-25 18:50:05,762 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-11-25 18:50:05,762 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2022-11-25 18:50:05,763 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1037043164] [2022-11-25 18:50:05,763 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-25 18:50:05,764 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-11-25 18:50:05,765 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-25 18:50:05,766 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-11-25 18:50:05,766 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-11-25 18:50:05,766 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:05,767 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-11-25 18:50:05,767 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 29.333333333333332) internal successors, (88), 3 states have internal predecessors, (88), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-25 18:50:05,767 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:05,767 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:05,947 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:05,951 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-11-25 18:50:05,952 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2022-11-25 18:50:05,952 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2022-11-25 18:50:05,953 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-25 18:50:05,955 INFO L85 PathProgramCache]: Analyzing trace with hash -1536790451, now seen corresponding path program 1 times [2022-11-25 18:50:05,955 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-25 18:50:05,956 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [945454347] [2022-11-25 18:50:05,956 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-25 18:50:05,957 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-25 18:50:06,075 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-25 18:50:06,523 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-11-25 18:50:06,523 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-25 18:50:06,523 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [945454347] [2022-11-25 18:50:06,524 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [945454347] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-25 18:50:06,524 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-11-25 18:50:06,524 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2022-11-25 18:50:06,525 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1984648243] [2022-11-25 18:50:06,525 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-25 18:50:06,525 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2022-11-25 18:50:06,526 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-25 18:50:06,527 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2022-11-25 18:50:06,527 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2022-11-25 18:50:06,527 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:06,527 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-11-25 18:50:06,528 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 6 states have (on average 18.833333333333332) internal successors, (113), 6 states have internal predecessors, (113), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-25 18:50:06,528 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:06,528 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-11-25 18:50:06,528 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:07,051 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:07,052 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-11-25 18:50:07,052 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2022-11-25 18:50:07,052 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2022-11-25 18:50:07,053 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2022-11-25 18:50:07,054 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-25 18:50:07,055 INFO L85 PathProgramCache]: Analyzing trace with hash -840392431, now seen corresponding path program 2 times [2022-11-25 18:50:07,055 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-25 18:50:07,055 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [702009487] [2022-11-25 18:50:07,056 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-25 18:50:07,056 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-25 18:50:07,119 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-25 18:50:07,729 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-11-25 18:50:07,729 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-25 18:50:07,734 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [702009487] [2022-11-25 18:50:07,734 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [702009487] provided 0 perfect and 1 imperfect interpolant sequences [2022-11-25 18:50:07,735 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [329112610] [2022-11-25 18:50:07,735 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2022-11-25 18:50:07,735 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-11-25 18:50:07,736 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 [2022-11-25 18:50:07,766 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2022-11-25 18:50:07,771 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2022-11-25 18:50:07,998 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2022-11-25 18:50:07,998 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2022-11-25 18:50:08,001 INFO L263 TraceCheckSpWp]: Trace formula consists of 343 conjuncts, 17 conjunts are in the unsatisfiable core [2022-11-25 18:50:08,015 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2022-11-25 18:50:08,096 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2022-11-25 18:50:08,122 INFO L321 Elim1Store]: treesize reduction 4, result has 50.0 percent of original size [2022-11-25 18:50:08,123 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 2 select indices, 2 select index equivalence classes, 0 disjoint index pairs (out of 1 index pairs), introduced 2 new quantified variables, introduced 1 case distinctions, treesize of input 11 treesize of output 11 [2022-11-25 18:50:08,200 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 7 [2022-11-25 18:50:08,400 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 14 treesize of output 16 [2022-11-25 18:50:08,446 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 14 treesize of output 16 [2022-11-25 18:50:08,467 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-11-25 18:50:08,467 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2022-11-25 18:50:08,468 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleZ3 [329112610] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-25 18:50:08,468 INFO L184 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2022-11-25 18:50:08,468 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [8] imperfect sequences [10] total 12 [2022-11-25 18:50:08,468 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [202705478] [2022-11-25 18:50:08,471 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-25 18:50:08,473 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2022-11-25 18:50:08,473 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-25 18:50:08,477 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2022-11-25 18:50:08,477 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=28, Invalid=104, Unknown=0, NotChecked=0, Total=132 [2022-11-25 18:50:08,478 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:08,478 INFO L495 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2022-11-25 18:50:08,479 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 14.125) internal successors, (113), 8 states have internal predecessors, (113), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2022-11-25 18:50:08,479 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:08,479 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 3 states. [2022-11-25 18:50:08,480 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 6 states. [2022-11-25 18:50:08,480 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:08,870 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-11-25 18:50:08,870 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-11-25 18:50:08,870 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2022-11-25 18:50:08,871 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2022-11-25 18:50:08,884 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2022-11-25 18:50:09,078 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3,3 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2022-11-25 18:50:09,078 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2022-11-25 18:50:09,079 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-25 18:50:09,079 INFO L85 PathProgramCache]: Analyzing trace with hash 1414248013, now seen corresponding path program 3 times [2022-11-25 18:50:09,079 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-25 18:50:09,079 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [50584109] [2022-11-25 18:50:09,080 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-25 18:50:09,080 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-25 18:50:09,178 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-11-25 18:50:09,179 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-11-25 18:50:09,235 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-11-25 18:50:09,287 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-11-25 18:50:09,288 INFO L360 BasicCegarLoop]: Counterexample is feasible [2022-11-25 18:50:09,289 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2022-11-25 18:50:09,291 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2022-11-25 18:50:09,303 INFO L445 BasicCegarLoop]: Path program histogram: [3, 1, 1] [2022-11-25 18:50:09,305 INFO L307 ceAbstractionStarter]: Result for error location funcBThread1of1ForFork1 was UNSAFE (1/2) [2022-11-25 18:50:09,310 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2022-11-25 18:50:09,311 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2022-11-25 18:50:09,438 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 25.11 06:50:09 BasicIcfg [2022-11-25 18:50:09,438 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2022-11-25 18:50:09,439 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-11-25 18:50:09,439 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-11-25 18:50:09,440 INFO L275 PluginConnector]: Witness Printer initialized [2022-11-25 18:50:09,440 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 06:50:04" (3/4) ... [2022-11-25 18:50:09,442 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2022-11-25 18:50:09,527 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/witness.graphml [2022-11-25 18:50:09,528 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-11-25 18:50:09,528 INFO L158 Benchmark]: Toolchain (without parser) took 7143.40ms. Allocated memory was 169.9MB in the beginning and 264.2MB in the end (delta: 94.4MB). Free memory was 120.9MB in the beginning and 78.8MB in the end (delta: 42.1MB). Peak memory consumption was 137.9MB. Max. memory is 16.1GB. [2022-11-25 18:50:09,529 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 169.9MB. Free memory is still 110.6MB. There was no memory consumed. Max. memory is 16.1GB. [2022-11-25 18:50:09,529 INFO L158 Benchmark]: CACSL2BoogieTranslator took 1151.01ms. Allocated memory is still 169.9MB. Free memory was 120.9MB in the beginning and 79.4MB in the end (delta: 41.4MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2022-11-25 18:50:09,529 INFO L158 Benchmark]: Boogie Procedure Inliner took 96.36ms. Allocated memory is still 169.9MB. Free memory was 79.4MB in the beginning and 76.8MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-11-25 18:50:09,530 INFO L158 Benchmark]: Boogie Preprocessor took 81.60ms. Allocated memory is still 169.9MB. Free memory was 76.8MB in the beginning and 74.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-11-25 18:50:09,530 INFO L158 Benchmark]: RCFGBuilder took 825.42ms. Allocated memory was 169.9MB in the beginning and 220.2MB in the end (delta: 50.3MB). Free memory was 74.8MB in the beginning and 174.9MB in the end (delta: -100.1MB). Peak memory consumption was 15.6MB. Max. memory is 16.1GB. [2022-11-25 18:50:09,531 INFO L158 Benchmark]: TraceAbstraction took 4890.25ms. Allocated memory was 220.2MB in the beginning and 264.2MB in the end (delta: 44.0MB). Free memory was 174.9MB in the beginning and 98.7MB in the end (delta: 76.2MB). Peak memory consumption was 120.2MB. Max. memory is 16.1GB. [2022-11-25 18:50:09,531 INFO L158 Benchmark]: Witness Printer took 88.56ms. Allocated memory is still 264.2MB. Free memory was 98.7MB in the beginning and 78.8MB in the end (delta: 19.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2022-11-25 18:50:09,533 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.30ms. Allocated memory is still 169.9MB. Free memory is still 110.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 1151.01ms. Allocated memory is still 169.9MB. Free memory was 120.9MB in the beginning and 79.4MB in the end (delta: 41.4MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 96.36ms. Allocated memory is still 169.9MB. Free memory was 79.4MB in the beginning and 76.8MB in the end (delta: 2.6MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 81.60ms. Allocated memory is still 169.9MB. Free memory was 76.8MB in the beginning and 74.8MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 825.42ms. Allocated memory was 169.9MB in the beginning and 220.2MB in the end (delta: 50.3MB). Free memory was 74.8MB in the beginning and 174.9MB in the end (delta: -100.1MB). Peak memory consumption was 15.6MB. Max. memory is 16.1GB. * TraceAbstraction took 4890.25ms. Allocated memory was 220.2MB in the beginning and 264.2MB in the end (delta: 44.0MB). Free memory was 174.9MB in the beginning and 98.7MB in the end (delta: 76.2MB). Peak memory consumption was 120.2MB. Max. memory is 16.1GB. * Witness Printer took 88.56ms. Allocated memory is still 264.2MB. Free memory was 98.7MB in the beginning and 78.8MB in the end (delta: 19.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Independence relation #1 benchmarks ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 10882, independent: 10436, independent conditional: 5104, independent unconditional: 5332, dependent: 446, dependent conditional: 414, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 10472, independent: 10436, independent conditional: 5104, independent unconditional: 5332, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 10472, independent: 10436, independent conditional: 5104, independent unconditional: 5332, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 10480, independent: 10436, independent conditional: 3, independent unconditional: 10433, dependent: 44, dependent conditional: 5, dependent unconditional: 39, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 10480, independent: 10436, independent conditional: 3, independent unconditional: 10433, dependent: 44, dependent conditional: 2, dependent unconditional: 42, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 10480, independent: 10436, independent conditional: 3, independent unconditional: 10433, dependent: 44, dependent conditional: 2, dependent unconditional: 42, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 4792, independent: 4758, independent conditional: 3, independent unconditional: 4755, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 4792, independent: 4730, independent conditional: 0, independent unconditional: 4730, dependent: 62, dependent conditional: 0, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 62, independent: 28, independent conditional: 3, independent unconditional: 25, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 62, independent: 28, independent conditional: 3, independent unconditional: 25, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 256, independent: 145, independent conditional: 10, independent unconditional: 136, dependent: 111, dependent conditional: 6, dependent unconditional: 105, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 10480, independent: 5678, independent conditional: 0, independent unconditional: 5678, dependent: 10, dependent conditional: 0, dependent unconditional: 10, unknown: 4792, unknown conditional: 5, unknown unconditional: 4787] , Statistics on independence cache: Total cache size (in pairs): 4792, Positive cache size: 4758, Positive conditional cache size: 3, Positive unconditional cache size: 4755, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 3, Maximal queried relation: 2, Independence queries for same thread: 410 - StatisticsResult: Persistent set benchmarks Persistent set computation time: 0.5s, Number of persistent set computation: 1526, Number of trivial persistent sets: 1430, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 5364, independent: 5332, independent conditional: 0, independent unconditional: 5332, dependent: 32, dependent conditional: 0, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 10882, independent: 10436, independent conditional: 5104, independent unconditional: 5332, dependent: 446, dependent conditional: 414, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 10472, independent: 10436, independent conditional: 5104, independent unconditional: 5332, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 10472, independent: 10436, independent conditional: 5104, independent unconditional: 5332, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 10480, independent: 10436, independent conditional: 3, independent unconditional: 10433, dependent: 44, dependent conditional: 5, dependent unconditional: 39, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 10480, independent: 10436, independent conditional: 3, independent unconditional: 10433, dependent: 44, dependent conditional: 2, dependent unconditional: 42, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 10480, independent: 10436, independent conditional: 3, independent unconditional: 10433, dependent: 44, dependent conditional: 2, dependent unconditional: 42, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 4792, independent: 4758, independent conditional: 3, independent unconditional: 4755, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 4792, independent: 4730, independent conditional: 0, independent unconditional: 4730, dependent: 62, dependent conditional: 0, dependent unconditional: 62, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 62, independent: 28, independent conditional: 3, independent unconditional: 25, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 62, independent: 28, independent conditional: 3, independent unconditional: 25, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 256, independent: 145, independent conditional: 10, independent unconditional: 136, dependent: 111, dependent conditional: 6, dependent unconditional: 105, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 10480, independent: 5678, independent conditional: 0, independent unconditional: 5678, dependent: 10, dependent conditional: 0, dependent unconditional: 10, unknown: 4792, unknown conditional: 5, unknown unconditional: 4787] , Statistics on independence cache: Total cache size (in pairs): 4792, Positive cache size: 4758, Positive conditional cache size: 3, Positive unconditional cache size: 4755, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 3, Maximal queried relation: 2, Independence queries for same thread: 410 - CounterExampleResult [Line: 1268]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L1236] 0 static int iTThreads = 2; VAL [iTThreads={13:0}] [L1237] 0 static int iRThreads = 1; VAL [iRThreads={14:0}, iTThreads={13:0}] [L1238] 0 static int data1Value = 0; VAL [data1Value=0, iRThreads={14:0}, iTThreads={13:0}] [L1239] 0 static int data2Value = 0; VAL [data1Value=0, data2Value=0, iRThreads={14:0}, iTThreads={13:0}] [L1240] 0 pthread_mutex_t *data1Lock; VAL [data1Lock={0:0}, data1Value=0, data2Value=0, iRThreads={14:0}, iTThreads={13:0}] [L1241] 0 pthread_mutex_t *data2Lock; VAL [data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}] [L1274] 0 int i,err; VAL [\old(argc)=3, argc=3, argv={61:62}, argv={61:62}, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}] [L1275] COND TRUE 0 argc != 1 VAL [\old(argc)=3, argc=3, argv={61:62}, argv={61:62}, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}] [L1276] COND FALSE 0 !(argc != 3) VAL [\old(argc)=3, argc=3, argv={61:62}, argv={61:62}, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}] [L1284] 0 data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) VAL [\old(argc)=3, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}, malloc(sizeof(pthread_mutex_t))={17:0}] [L1285] 0 data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) VAL [\old(argc)=3, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}, malloc(sizeof(pthread_mutex_t))={16:0}] [L1286] EXPR 0 err = pthread_mutex_init(data1Lock, ((void *)0)) VAL [\old(argc)=3, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, iRThreads={14:0}, iTThreads={13:0}] [L1286] COND FALSE 0 !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) VAL [\old(argc)=3, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, iRThreads={14:0}, iTThreads={13:0}] [L1290] EXPR 0 err = pthread_mutex_init(data2Lock, ((void *)0)) VAL [\old(argc)=3, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, iRThreads={14:0}, iTThreads={13:0}] [L1290] COND FALSE 0 !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) VAL [\old(argc)=3, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, iRThreads={14:0}, iTThreads={13:0}] [L1294] EXPR 0 \read(iTThreads) VAL [\old(argc)=3, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, iRThreads={14:0}, iTThreads={13:0}] [L1294] 0 pthread_t tPool[iTThreads]; VAL [\old(argc)=3, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, iRThreads={14:0}, iTThreads={13:0}, tPool={31:0}] [L1295] EXPR 0 \read(iRThreads) VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, iRThreads={14:0}, iTThreads={13:0}, tPool={31:0}] [L1295] 0 pthread_t rPool[iRThreads]; VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, iRThreads={14:0}, iTThreads={13:0}, rPool={32:0}, tPool={31:0}] [L1296] 0 i = 0 VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, rPool={32:0}, tPool={31:0}] [L1296] EXPR 0 \read(iTThreads) VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, rPool={32:0}, tPool={31:0}] [L1296] COND TRUE 0 i < iTThreads VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, rPool={32:0}, tPool={31:0}] [L1297] EXPR, FCALL, FORK 0 pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=0, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0))=1, rPool={32:0}, tPool={31:0}] [L1246] 1 data1Value = 1 VAL [data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}] [L1297] EXPR 0 err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0))=1, pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0))=0, rPool={32:0}, tPool={31:0}] [L1297] COND FALSE 0 !(0 != (err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)))) VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0))=1, pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0))=0, rPool={32:0}, tPool={31:0}] [L1296] 0 i++ VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, err=0, i=1, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, rPool={32:0}, tPool={31:0}] [L1296] EXPR 0 \read(iTThreads) VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, err=0, i=1, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, rPool={32:0}, tPool={31:0}] [L1296] COND FALSE 0 !(i < iTThreads) VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, err=0, i=1, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, rPool={32:0}, tPool={31:0}] [L1302] 0 i = 0 VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, rPool={32:0}, tPool={31:0}] [L1302] EXPR 0 \read(iRThreads) VAL [\old(argc)=3, \read(iRThreads)=15, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, rPool={32:0}, tPool={31:0}] [L1302] COND TRUE 0 i < iRThreads VAL [\old(argc)=3, \read(iRThreads)=15, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, rPool={32:0}, tPool={31:0}] [L1303] FCALL, FORK 0 pthread_create(&rPool[i], ((void *)0), &funcB, ((void *)0)) VAL [\old(argc)=3, \read(iRThreads)=15, \read(iTThreads)=1, argc=3, argv={61:62}, argv={61:62}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, err=0, i=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, pthread_create(&rPool[i], ((void *)0), &funcB, ((void *)0))=2, rPool={32:0}, tPool={31:0}] [L1254] 2 int t1 = -1; VAL [data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, param={0:0}, t1=-1] [L1255] 2 int t2 = -1; VAL [data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, param={0:0}, t1=-1, t2=-1] [L1257] COND FALSE 2 !(data1Value == 0) VAL [data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, param={0:0}, t1=-1, t2=-1] [L1261] 2 t1 = data1Value VAL [data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, param={0:0}, t1=1, t2=-1] [L1264] 2 t2 = data2Value VAL [data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=0, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, param={0:0}, t1=1, t2=0] [L1249] 1 data2Value = data1Value + 1 VAL [data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=2, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, param={0:0}, t1=1, t2=0] [L1251] 1 return ((void *)0); VAL [\result={0:0}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=2, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, param={0:0}, t1=1, t2=0] [L1266] COND TRUE 2 t2 != (t1 + 1) VAL [\result={0:0}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=2, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, param={0:0}, t1=1, t2=0] [L1268] 2 reach_error() VAL [\result={0:0}, data1Lock={17:0}, data1Value=1, data2Lock={16:0}, data2Value=2, iRThreads={14:0}, iTThreads={13:0}, param={0:0}, param={0:0}, param={0:0}, param={0:0}, t1=1, t2=0] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: funcBThread1of1ForFork1 with 1 thread instances CFG has 5 procedures, 218 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 4.5s, OverallIterations: 5, TraceHistogramMax: 0, PathProgramHistogramMax: 3, EmptinessCheckTime: 1.4s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 20, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.1s SsaConstructionTime, 0.3s SatisfiabilityAnalysisTime, 1.9s InterpolantComputationTime, 628 NumberOfCodeBlocks, 628 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 510 ConstructedInterpolants, 0 QuantifiedInterpolants, 2061 SizeOfPredicates, 3 NumberOfNonLiveVariables, 343 ConjunctsInSsa, 17 ConjunctsInUnsatCore, 5 InterpolantComputations, 4 PerfectInterpolantSequences, 4/6 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2022-11-25 18:50:09,572 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Forceful destruction successful, exit code 0 [2022-11-25 18:50:09,750 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_89462dd0-5d4e-492c-b459-79071efc5941/bin/ugemcutter-syNpU3ikLH/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE