./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-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread/twostage_3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R --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 Automizer --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 17:01:20,635 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-11-25 17:01:20,638 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-11-25 17:01:20,680 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-11-25 17:01:20,680 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-11-25 17:01:20,684 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-11-25 17:01:20,687 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-11-25 17:01:20,688 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-11-25 17:01:20,690 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-11-25 17:01:20,691 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-11-25 17:01:20,692 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-11-25 17:01:20,693 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-11-25 17:01:20,693 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-11-25 17:01:20,694 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-11-25 17:01:20,697 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-11-25 17:01:20,699 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-11-25 17:01:20,701 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-11-25 17:01:20,706 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-11-25 17:01:20,709 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-11-25 17:01:20,716 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-11-25 17:01:20,719 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-11-25 17:01:20,722 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-11-25 17:01:20,724 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-11-25 17:01:20,725 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-11-25 17:01:20,734 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-11-25 17:01:20,734 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-11-25 17:01:20,735 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-11-25 17:01:20,735 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-11-25 17:01:20,736 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-11-25 17:01:20,737 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-11-25 17:01:20,737 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-11-25 17:01:20,738 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-11-25 17:01:20,738 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-11-25 17:01:20,739 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-11-25 17:01:20,740 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-11-25 17:01:20,740 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-11-25 17:01:20,741 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-11-25 17:01:20,741 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-11-25 17:01:20,741 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-11-25 17:01:20,742 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-11-25 17:01:20,746 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-11-25 17:01:20,747 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/config/svcomp-Reach-32bit-Automizer_Default.epf [2022-11-25 17:01:20,784 INFO L113 SettingsManager]: Loading preferences was successful [2022-11-25 17:01:20,784 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-11-25 17:01:20,785 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-11-25 17:01:20,785 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-11-25 17:01:20,786 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-11-25 17:01:20,786 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-11-25 17:01:20,787 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-11-25 17:01:20,787 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-11-25 17:01:20,787 INFO L138 SettingsManager]: * Use SBE=true [2022-11-25 17:01:20,788 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-11-25 17:01:20,789 INFO L138 SettingsManager]: * sizeof long=4 [2022-11-25 17:01:20,789 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-11-25 17:01:20,789 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-11-25 17:01:20,789 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-11-25 17:01:20,789 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-11-25 17:01:20,790 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-11-25 17:01:20,790 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-11-25 17:01:20,790 INFO L138 SettingsManager]: * sizeof long double=12 [2022-11-25 17:01:20,790 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-11-25 17:01:20,790 INFO L138 SettingsManager]: * Use constant arrays=true [2022-11-25 17:01:20,790 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-11-25 17:01:20,791 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-11-25 17:01:20,791 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-11-25 17:01:20,791 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-11-25 17:01:20,791 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-25 17:01:20,791 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-11-25 17:01:20,792 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-11-25 17:01:20,792 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2022-11-25 17:01:20,792 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-11-25 17:01:20,793 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-11-25 17:01:20,793 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2022-11-25 17:01:20,793 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2022-11-25 17:01:20,793 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2022-11-25 17:01:20,794 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-11-25 17:01:20,794 INFO L138 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/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_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R 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 -> Automizer 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 17:01:21,071 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-11-25 17:01:21,097 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-11-25 17:01:21,099 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-11-25 17:01:21,101 INFO L271 PluginConnector]: Initializing CDTParser... [2022-11-25 17:01:21,101 INFO L275 PluginConnector]: CDTParser initialized [2022-11-25 17:01:21,103 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/../../sv-benchmarks/c/pthread/twostage_3.i [2022-11-25 17:01:24,143 INFO L500 CDTParser]: Created temporary CDT project at NULL [2022-11-25 17:01:24,473 INFO L351 CDTParser]: Found 1 translation units. [2022-11-25 17:01:24,474 INFO L172 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/sv-benchmarks/c/pthread/twostage_3.i [2022-11-25 17:01:24,502 INFO L394 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/data/663e29ed5/08ba803198fa40d49336f4a4c8f5581e/FLAG39dd439df [2022-11-25 17:01:24,522 INFO L402 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/data/663e29ed5/08ba803198fa40d49336f4a4c8f5581e [2022-11-25 17:01:24,525 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-11-25 17:01:24,528 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-11-25 17:01:24,531 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-11-25 17:01:24,532 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-11-25 17:01:24,536 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-11-25 17:01:24,537 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:01:24" (1/1) ... [2022-11-25 17:01:24,538 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@47991776 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:24, skipping insertion in model container [2022-11-25 17:01:24,539 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 25.11 05:01:24" (1/1) ... [2022-11-25 17:01:24,547 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-11-25 17:01:24,606 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-11-25 17:01:25,408 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,410 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_64cf9572-e2c4-4660-8643-aeefd455f559/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-11-25 17:01:25,420 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,429 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,431 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,438 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,447 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,450 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,454 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,464 WARN L1576 CHandler]: Possible shadowing of function lock [2022-11-25 17:01:25,465 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,468 WARN L1576 CHandler]: Possible shadowing of function lock [2022-11-25 17:01:25,469 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,470 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-25 17:01:25,479 INFO L203 MainTranslator]: Completed pre-run [2022-11-25 17:01:25,525 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,526 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_64cf9572-e2c4-4660-8643-aeefd455f559/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-11-25 17:01:25,527 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,529 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,530 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,533 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,535 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,536 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,538 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,540 WARN L1576 CHandler]: Possible shadowing of function lock [2022-11-25 17:01:25,540 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,541 WARN L1576 CHandler]: Possible shadowing of function lock [2022-11-25 17:01:25,542 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-11-25 17:01:25,543 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-25 17:01:25,627 INFO L208 MainTranslator]: Completed translation [2022-11-25 17:01:25,627 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25 WrapperNode [2022-11-25 17:01:25,627 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-11-25 17:01:25,629 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-11-25 17:01:25,629 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-11-25 17:01:25,629 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-11-25 17:01:25,637 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,657 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,703 INFO L138 Inliner]: procedures = 372, calls = 47, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 157 [2022-11-25 17:01:25,703 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-11-25 17:01:25,704 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-11-25 17:01:25,704 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-11-25 17:01:25,704 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-11-25 17:01:25,715 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,716 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,720 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,720 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,728 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,734 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,749 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,751 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,754 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-11-25 17:01:25,755 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-11-25 17:01:25,755 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-11-25 17:01:25,756 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-11-25 17:01:25,757 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (1/1) ... [2022-11-25 17:01:25,767 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-25 17:01:25,779 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/z3 [2022-11-25 17:01:25,797 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-11-25 17:01:25,801 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_64cf9572-e2c4-4660-8643-aeefd455f559/bin/uautomizer-ZsLfNo2U6R/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-11-25 17:01:25,847 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2022-11-25 17:01:25,847 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2022-11-25 17:01:25,847 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2022-11-25 17:01:25,847 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2022-11-25 17:01:25,848 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-11-25 17:01:25,849 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-11-25 17:01:25,850 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-11-25 17:01:25,850 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-11-25 17:01:25,850 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2022-11-25 17:01:25,851 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2022-11-25 17:01:25,851 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-11-25 17:01:25,852 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-11-25 17:01:25,852 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-11-25 17:01:25,852 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-11-25 17:01:25,854 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 17:01:26,072 INFO L235 CfgBuilder]: Building ICFG [2022-11-25 17:01:26,089 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2022-11-25 17:01:26,480 INFO L276 CfgBuilder]: Performing block encoding [2022-11-25 17:01:26,496 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-11-25 17:01:26,502 INFO L300 CfgBuilder]: Removed 4 assume(true) statements. [2022-11-25 17:01:26,506 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:01:26 BoogieIcfgContainer [2022-11-25 17:01:26,506 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-11-25 17:01:26,509 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-11-25 17:01:26,509 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-11-25 17:01:26,513 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-11-25 17:01:26,514 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 25.11 05:01:24" (1/3) ... [2022-11-25 17:01:26,515 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@43e73f2b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 25.11 05:01:26, skipping insertion in model container [2022-11-25 17:01:26,515 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 25.11 05:01:25" (2/3) ... [2022-11-25 17:01:26,518 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@43e73f2b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 25.11 05:01:26, skipping insertion in model container [2022-11-25 17:01:26,519 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 25.11 05:01:26" (3/3) ... [2022-11-25 17:01:26,521 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2022-11-25 17:01:26,532 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2022-11-25 17:01:26,567 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-11-25 17:01:26,568 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2022-11-25 17:01:26,568 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2022-11-25 17:01:26,703 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2022-11-25 17:01:26,766 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 188 places, 201 transitions, 424 flow [2022-11-25 17:01:26,936 INFO L130 PetriNetUnfolder]: 39/391 cut-off events. [2022-11-25 17:01:26,937 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2022-11-25 17:01:26,947 INFO L83 FinitePrefix]: Finished finitePrefix Result has 411 conditions, 391 events. 39/391 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 1405 event pairs, 0 based on Foata normal form. 0/344 useless extension candidates. Maximal degree in co-relation 212. Up to 8 conditions per place. [2022-11-25 17:01:26,948 INFO L82 GeneralOperation]: Start removeDead. Operand has 188 places, 201 transitions, 424 flow [2022-11-25 17:01:26,954 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 188 places, 199 transitions, 414 flow [2022-11-25 17:01:26,958 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2022-11-25 17:01:26,989 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 188 places, 199 transitions, 414 flow [2022-11-25 17:01:26,994 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 188 places, 199 transitions, 414 flow [2022-11-25 17:01:26,995 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 188 places, 199 transitions, 414 flow [2022-11-25 17:01:27,086 INFO L130 PetriNetUnfolder]: 33/367 cut-off events. [2022-11-25 17:01:27,086 INFO L131 PetriNetUnfolder]: For 4/4 co-relation queries the response was YES. [2022-11-25 17:01:27,088 INFO L83 FinitePrefix]: Finished finitePrefix Result has 383 conditions, 367 events. 33/367 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 1268 event pairs, 0 based on Foata normal form. 0/322 useless extension candidates. Maximal degree in co-relation 210. Up to 8 conditions per place. [2022-11-25 17:01:27,093 INFO L119 LiptonReduction]: Number of co-enabled transitions 5174 [2022-11-25 17:01:48,593 INFO L134 LiptonReduction]: Checked pairs total: 12201 [2022-11-25 17:01:48,594 INFO L136 LiptonReduction]: Total number of compositions: 224 [2022-11-25 17:01:48,610 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-11-25 17:01:48,617 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=PETRI_NET, 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;@1040432c, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-11-25 17:01:48,618 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2022-11-25 17:01:48,624 INFO L130 PetriNetUnfolder]: 1/27 cut-off events. [2022-11-25 17:01:48,625 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2022-11-25 17:01:48,625 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-11-25 17:01:48,626 INFO L209 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2022-11-25 17:01:48,626 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2022-11-25 17:01:48,631 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-25 17:01:48,632 INFO L85 PathProgramCache]: Analyzing trace with hash 1004539330, now seen corresponding path program 1 times [2022-11-25 17:01:48,641 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-25 17:01:48,642 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1040163052] [2022-11-25 17:01:48,642 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-25 17:01:48,643 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-25 17:01:48,897 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-11-25 17:01:48,897 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-11-25 17:01:48,981 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-11-25 17:01:49,010 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-11-25 17:01:49,012 INFO L360 BasicCegarLoop]: Counterexample is feasible [2022-11-25 17:01:49,013 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2022-11-25 17:01:49,015 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 4 remaining) [2022-11-25 17:01:49,016 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 4 remaining) [2022-11-25 17:01:49,016 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2022-11-25 17:01:49,017 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-11-25 17:01:49,017 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2022-11-25 17:01:49,021 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2022-11-25 17:01:49,021 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2022-11-25 17:01:49,050 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2022-11-25 17:01:49,054 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 226 places, 241 transitions, 530 flow [2022-11-25 17:01:49,284 INFO L130 PetriNetUnfolder]: 155/1192 cut-off events. [2022-11-25 17:01:49,284 INFO L131 PetriNetUnfolder]: For 72/72 co-relation queries the response was YES. [2022-11-25 17:01:49,293 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1289 conditions, 1192 events. 155/1192 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 29. Compared 6666 event pairs, 2 based on Foata normal form. 0/1044 useless extension candidates. Maximal degree in co-relation 710. Up to 32 conditions per place. [2022-11-25 17:01:49,293 INFO L82 GeneralOperation]: Start removeDead. Operand has 226 places, 241 transitions, 530 flow [2022-11-25 17:01:49,299 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 226 places, 241 transitions, 530 flow [2022-11-25 17:01:49,300 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2022-11-25 17:01:49,300 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 226 places, 241 transitions, 530 flow [2022-11-25 17:01:49,300 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 226 places, 241 transitions, 530 flow [2022-11-25 17:01:49,301 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 226 places, 241 transitions, 530 flow [2022-11-25 17:01:49,494 INFO L130 PetriNetUnfolder]: 155/1192 cut-off events. [2022-11-25 17:01:49,496 INFO L131 PetriNetUnfolder]: For 72/72 co-relation queries the response was YES. [2022-11-25 17:01:49,504 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1289 conditions, 1192 events. 155/1192 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 29. Compared 6666 event pairs, 2 based on Foata normal form. 0/1044 useless extension candidates. Maximal degree in co-relation 710. Up to 32 conditions per place. [2022-11-25 17:01:49,534 INFO L119 LiptonReduction]: Number of co-enabled transitions 14284 [2022-11-25 17:02:13,580 INFO L134 LiptonReduction]: Checked pairs total: 44198 [2022-11-25 17:02:13,581 INFO L136 LiptonReduction]: Total number of compositions: 242 [2022-11-25 17:02:13,589 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-11-25 17:02:13,591 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=PETRI_NET, 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;@1040432c, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-11-25 17:02:13,592 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2022-11-25 17:02:13,601 INFO L130 PetriNetUnfolder]: 6/66 cut-off events. [2022-11-25 17:02:13,606 INFO L131 PetriNetUnfolder]: For 6/8 co-relation queries the response was YES. [2022-11-25 17:02:13,608 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-11-25 17:02:13,608 INFO L209 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-11-25 17:02:13,608 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2022-11-25 17:02:13,609 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-25 17:02:13,609 INFO L85 PathProgramCache]: Analyzing trace with hash -835540510, now seen corresponding path program 1 times [2022-11-25 17:02:13,609 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-25 17:02:13,610 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [221886170] [2022-11-25 17:02:13,610 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-25 17:02:13,611 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-25 17:02:13,666 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-25 17:02:13,896 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 17:02:13,896 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-25 17:02:13,896 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [221886170] [2022-11-25 17:02:13,897 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [221886170] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-25 17:02:13,897 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-11-25 17:02:13,897 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-11-25 17:02:13,898 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1046506602] [2022-11-25 17:02:13,899 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-25 17:02:13,909 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-11-25 17:02:13,909 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-25 17:02:13,928 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-11-25 17:02:13,930 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-11-25 17:02:13,971 INFO L478 CegarLoopForPetriNet]: Number of universal loopers: 207 out of 483 [2022-11-25 17:02:13,974 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 60 places, 63 transitions, 174 flow. Second operand has 3 states, 3 states have (on average 209.66666666666666) internal successors, (629), 3 states have internal predecessors, (629), 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 17:02:13,974 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2022-11-25 17:02:13,975 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 207 of 483 [2022-11-25 17:02:13,976 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2022-11-25 17:02:27,545 INFO L130 PetriNetUnfolder]: 77273/115857 cut-off events. [2022-11-25 17:02:27,545 INFO L131 PetriNetUnfolder]: For 10942/10942 co-relation queries the response was YES. [2022-11-25 17:02:27,746 INFO L83 FinitePrefix]: Finished finitePrefix Result has 225795 conditions, 115857 events. 77273/115857 cut-off events. For 10942/10942 co-relation queries the response was YES. Maximal size of possible extension queue 4237. Compared 957968 event pairs, 28815 based on Foata normal form. 1929/95779 useless extension candidates. Maximal degree in co-relation 159265. Up to 65541 conditions per place. [2022-11-25 17:02:28,341 INFO L137 encePairwiseOnDemand]: 474/483 looper letters, 85 selfloop transitions, 5 changer transitions 0/104 dead transitions. [2022-11-25 17:02:28,341 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 62 places, 104 transitions, 473 flow [2022-11-25 17:02:28,342 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-11-25 17:02:28,345 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2022-11-25 17:02:28,360 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 717 transitions. [2022-11-25 17:02:28,366 INFO L523 CegarLoopForPetriNet]: DFA transition density 0.494824016563147 [2022-11-25 17:02:28,367 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 717 transitions. [2022-11-25 17:02:28,367 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 717 transitions. [2022-11-25 17:02:28,373 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-11-25 17:02:28,376 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 717 transitions. [2022-11-25 17:02:28,385 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 239.0) internal successors, (717), 3 states have internal predecessors, (717), 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 17:02:28,396 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 483.0) internal successors, (1932), 4 states have internal predecessors, (1932), 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 17:02:28,398 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 483.0) internal successors, (1932), 4 states have internal predecessors, (1932), 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 17:02:28,404 INFO L175 Difference]: Start difference. First operand has 60 places, 63 transitions, 174 flow. Second operand 3 states and 717 transitions. [2022-11-25 17:02:28,406 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 62 places, 104 transitions, 473 flow [2022-11-25 17:02:28,760 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 62 places, 104 transitions, 473 flow, removed 0 selfloop flow, removed 0 redundant places. [2022-11-25 17:02:28,764 INFO L231 Difference]: Finished difference. Result has 64 places, 65 transitions, 210 flow [2022-11-25 17:02:28,766 INFO L271 CegarLoopForPetriNet]: {PETRI_ALPHABET=483, PETRI_DIFFERENCE_MINUEND_FLOW=170, PETRI_DIFFERENCE_MINUEND_PLACES=60, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=61, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=56, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=210, PETRI_PLACES=64, PETRI_TRANSITIONS=65} [2022-11-25 17:02:28,773 INFO L288 CegarLoopForPetriNet]: 60 programPoint places, 4 predicate places. [2022-11-25 17:02:28,773 INFO L495 AbstractCegarLoop]: Abstraction has has 64 places, 65 transitions, 210 flow [2022-11-25 17:02:28,774 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 209.66666666666666) internal successors, (629), 3 states have internal predecessors, (629), 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 17:02:28,774 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-11-25 17:02:28,775 INFO L209 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2022-11-25 17:02:28,775 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2022-11-25 17:02:28,775 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2022-11-25 17:02:28,776 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-25 17:02:28,776 INFO L85 PathProgramCache]: Analyzing trace with hash -1541527002, now seen corresponding path program 1 times [2022-11-25 17:02:28,777 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-25 17:02:28,778 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1750506602] [2022-11-25 17:02:28,778 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-25 17:02:28,778 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-25 17:02:28,879 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-11-25 17:02:28,880 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-11-25 17:02:28,982 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-11-25 17:02:29,002 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-11-25 17:02:29,002 INFO L360 BasicCegarLoop]: Counterexample is feasible [2022-11-25 17:02:29,003 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 5 remaining) [2022-11-25 17:02:29,004 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 5 remaining) [2022-11-25 17:02:29,004 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 5 remaining) [2022-11-25 17:02:29,004 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 5 remaining) [2022-11-25 17:02:29,005 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 5 remaining) [2022-11-25 17:02:29,005 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2022-11-25 17:02:29,005 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2022-11-25 17:02:29,007 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2022-11-25 17:02:29,008 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2022-11-25 17:02:29,049 INFO L144 ThreadInstanceAdder]: Constructed 12 joinOtherThreadTransitions. [2022-11-25 17:02:29,055 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 264 places, 281 transitions, 640 flow [2022-11-25 17:02:30,140 INFO L130 PetriNetUnfolder]: 653/3897 cut-off events. [2022-11-25 17:02:30,140 INFO L131 PetriNetUnfolder]: For 419/419 co-relation queries the response was YES. [2022-11-25 17:02:30,166 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4348 conditions, 3897 events. 653/3897 cut-off events. For 419/419 co-relation queries the response was YES. Maximal size of possible extension queue 57. Compared 29012 event pairs, 64 based on Foata normal form. 0/3420 useless extension candidates. Maximal degree in co-relation 2314. Up to 192 conditions per place. [2022-11-25 17:02:30,166 INFO L82 GeneralOperation]: Start removeDead. Operand has 264 places, 281 transitions, 640 flow [2022-11-25 17:02:30,185 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 264 places, 281 transitions, 640 flow [2022-11-25 17:02:30,185 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2022-11-25 17:02:30,185 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 264 places, 281 transitions, 640 flow [2022-11-25 17:02:30,186 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 264 places, 281 transitions, 640 flow [2022-11-25 17:02:30,186 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 264 places, 281 transitions, 640 flow [2022-11-25 17:02:30,858 INFO L130 PetriNetUnfolder]: 653/3897 cut-off events. [2022-11-25 17:02:30,858 INFO L131 PetriNetUnfolder]: For 419/419 co-relation queries the response was YES. [2022-11-25 17:02:30,885 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4348 conditions, 3897 events. 653/3897 cut-off events. For 419/419 co-relation queries the response was YES. Maximal size of possible extension queue 57. Compared 29012 event pairs, 64 based on Foata normal form. 0/3420 useless extension candidates. Maximal degree in co-relation 2314. Up to 192 conditions per place. [2022-11-25 17:02:31,008 INFO L119 LiptonReduction]: Number of co-enabled transitions 25878 [2022-11-25 17:02:52,342 INFO L134 LiptonReduction]: Checked pairs total: 94121 [2022-11-25 17:02:52,342 INFO L136 LiptonReduction]: Total number of compositions: 269 [2022-11-25 17:02:52,345 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-11-25 17:02:52,346 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=PETRI_NET, 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;@1040432c, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-11-25 17:02:52,346 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2022-11-25 17:02:52,353 INFO L130 PetriNetUnfolder]: 6/66 cut-off events. [2022-11-25 17:02:52,353 INFO L131 PetriNetUnfolder]: For 6/8 co-relation queries the response was YES. [2022-11-25 17:02:52,353 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-11-25 17:02:52,353 INFO L209 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-11-25 17:02:52,354 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2022-11-25 17:02:52,354 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-25 17:02:52,354 INFO L85 PathProgramCache]: Analyzing trace with hash -717574275, now seen corresponding path program 1 times [2022-11-25 17:02:52,355 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-25 17:02:52,355 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1936411773] [2022-11-25 17:02:52,355 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-25 17:02:52,355 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-25 17:02:52,374 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-25 17:02:52,442 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 17:02:52,443 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-25 17:02:52,443 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1936411773] [2022-11-25 17:02:52,443 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1936411773] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-25 17:02:52,444 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-11-25 17:02:52,444 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-11-25 17:02:52,444 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1747759271] [2022-11-25 17:02:52,444 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-25 17:02:52,445 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-11-25 17:02:52,445 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-25 17:02:52,445 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-11-25 17:02:52,446 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-11-25 17:02:52,468 INFO L478 CegarLoopForPetriNet]: Number of universal loopers: 236 out of 550 [2022-11-25 17:02:52,469 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 80 places, 84 transitions, 246 flow. Second operand has 3 states, 3 states have (on average 238.66666666666666) internal successors, (716), 3 states have internal predecessors, (716), 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 17:02:52,470 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2022-11-25 17:02:52,470 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 236 of 550 [2022-11-25 17:02:52,470 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand