./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 2329fc70 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_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread/twostage_3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8 --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 c1c75e051173a22f60f33f26eab32e0b3a7dcaf46f2d4cc494d0c9d8775c984e --- 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-2329fc7 [2022-12-13 16:06:07,207 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-12-13 16:06:07,210 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-12-13 16:06:07,228 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-12-13 16:06:07,228 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-12-13 16:06:07,229 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-12-13 16:06:07,231 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-12-13 16:06:07,233 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-12-13 16:06:07,234 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-12-13 16:06:07,235 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-12-13 16:06:07,236 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-12-13 16:06:07,237 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-12-13 16:06:07,237 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-12-13 16:06:07,238 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-12-13 16:06:07,239 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-12-13 16:06:07,240 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-12-13 16:06:07,241 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-12-13 16:06:07,242 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-12-13 16:06:07,243 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-12-13 16:06:07,245 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-12-13 16:06:07,246 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-12-13 16:06:07,247 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-12-13 16:06:07,248 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-12-13 16:06:07,249 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-12-13 16:06:07,253 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-12-13 16:06:07,253 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-12-13 16:06:07,254 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-12-13 16:06:07,255 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-12-13 16:06:07,255 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-12-13 16:06:07,256 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-12-13 16:06:07,256 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-12-13 16:06:07,257 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-12-13 16:06:07,257 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-12-13 16:06:07,258 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-12-13 16:06:07,259 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-12-13 16:06:07,259 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-12-13 16:06:07,260 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-12-13 16:06:07,260 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-12-13 16:06:07,260 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-12-13 16:06:07,261 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-12-13 16:06:07,261 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-12-13 16:06:07,262 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/config/svcomp-Reach-32bit-Automizer_Default.epf [2022-12-13 16:06:07,281 INFO L113 SettingsManager]: Loading preferences was successful [2022-12-13 16:06:07,281 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-12-13 16:06:07,282 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-12-13 16:06:07,282 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-12-13 16:06:07,282 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-12-13 16:06:07,282 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-12-13 16:06:07,283 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-12-13 16:06:07,283 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-12-13 16:06:07,283 INFO L138 SettingsManager]: * Use SBE=true [2022-12-13 16:06:07,284 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-12-13 16:06:07,284 INFO L138 SettingsManager]: * sizeof long=4 [2022-12-13 16:06:07,284 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-12-13 16:06:07,284 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-12-13 16:06:07,284 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-12-13 16:06:07,284 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2022-12-13 16:06:07,284 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-12-13 16:06:07,285 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2022-12-13 16:06:07,285 INFO L138 SettingsManager]: * sizeof long double=12 [2022-12-13 16:06:07,285 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2022-12-13 16:06:07,285 INFO L138 SettingsManager]: * Use constant arrays=true [2022-12-13 16:06:07,285 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2022-12-13 16:06:07,285 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-12-13 16:06:07,285 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-12-13 16:06:07,286 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-12-13 16:06:07,286 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-12-13 16:06:07,286 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-12-13 16:06:07,286 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-12-13 16:06:07,286 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2022-12-13 16:06:07,286 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-12-13 16:06:07,286 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-12-13 16:06:07,287 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2022-12-13 16:06:07,287 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2022-12-13 16:06:07,287 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2022-12-13 16:06:07,287 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-12-13 16:06:07,287 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2022-12-13 16:06:07,287 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_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/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_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8 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 -> c1c75e051173a22f60f33f26eab32e0b3a7dcaf46f2d4cc494d0c9d8775c984e [2022-12-13 16:06:07,458 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-12-13 16:06:07,476 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-12-13 16:06:07,478 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-12-13 16:06:07,479 INFO L271 PluginConnector]: Initializing CDTParser... [2022-12-13 16:06:07,479 INFO L275 PluginConnector]: CDTParser initialized [2022-12-13 16:06:07,480 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/../../sv-benchmarks/c/pthread/twostage_3.i [2022-12-13 16:06:10,144 INFO L500 CDTParser]: Created temporary CDT project at NULL [2022-12-13 16:06:10,389 INFO L351 CDTParser]: Found 1 translation units. [2022-12-13 16:06:10,389 INFO L172 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/sv-benchmarks/c/pthread/twostage_3.i [2022-12-13 16:06:10,403 INFO L394 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/data/8d3660323/339a9b28165d49428e56ce51047ffb72/FLAG60800ed8a [2022-12-13 16:06:10,413 INFO L402 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/data/8d3660323/339a9b28165d49428e56ce51047ffb72 [2022-12-13 16:06:10,415 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-12-13 16:06:10,416 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-12-13 16:06:10,417 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-12-13 16:06:10,417 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-12-13 16:06:10,420 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-12-13 16:06:10,421 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:10,422 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1a64104e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10, skipping insertion in model container [2022-12-13 16:06:10,422 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:10,429 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-12-13 16:06:10,473 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-12-13 16:06:10,863 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,864 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_780ec49b-71d3-4e08-9e77-49d3a6e58352/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-12-13 16:06:10,868 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,871 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,872 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,875 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,877 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,878 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,879 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,880 WARN L1576 CHandler]: Possible shadowing of function lock [2022-12-13 16:06:10,881 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,881 WARN L1576 CHandler]: Possible shadowing of function lock [2022-12-13 16:06:10,882 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,882 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-12-13 16:06:10,889 INFO L203 MainTranslator]: Completed pre-run [2022-12-13 16:06:10,916 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,917 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_780ec49b-71d3-4e08-9e77-49d3a6e58352/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2022-12-13 16:06:10,918 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,919 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,920 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,922 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,923 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,924 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,925 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,926 WARN L1576 CHandler]: Possible shadowing of function lock [2022-12-13 16:06:10,927 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,927 WARN L1576 CHandler]: Possible shadowing of function lock [2022-12-13 16:06:10,928 WARN L623 FunctionHandler]: Unknown extern function fprintf [2022-12-13 16:06:10,928 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-12-13 16:06:10,982 INFO L208 MainTranslator]: Completed translation [2022-12-13 16:06:10,983 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10 WrapperNode [2022-12-13 16:06:10,983 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-12-13 16:06:10,984 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-12-13 16:06:10,984 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-12-13 16:06:10,984 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-12-13 16:06:10,989 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,001 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,018 INFO L138 Inliner]: procedures = 372, calls = 49, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 170 [2022-12-13 16:06:11,018 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-12-13 16:06:11,018 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-12-13 16:06:11,018 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-12-13 16:06:11,018 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-12-13 16:06:11,025 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,025 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,028 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,028 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,033 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,035 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,037 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,038 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,040 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-12-13 16:06:11,040 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-12-13 16:06:11,041 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-12-13 16:06:11,041 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-12-13 16:06:11,041 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (1/1) ... [2022-12-13 16:06:11,046 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-12-13 16:06:11,055 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/z3 [2022-12-13 16:06:11,064 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-12-13 16:06:11,066 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_780ec49b-71d3-4e08-9e77-49d3a6e58352/bin/uautomizer-uyxdKDjOR8/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-12-13 16:06:11,097 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2022-12-13 16:06:11,098 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2022-12-13 16:06:11,098 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-12-13 16:06:11,098 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-12-13 16:06:11,098 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-12-13 16:06:11,100 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2022-12-13 16:06:11,204 INFO L235 CfgBuilder]: Building ICFG [2022-12-13 16:06:11,206 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2022-12-13 16:06:11,454 INFO L276 CfgBuilder]: Performing block encoding [2022-12-13 16:06:11,461 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-12-13 16:06:11,461 INFO L300 CfgBuilder]: Removed 4 assume(true) statements. [2022-12-13 16:06:11,463 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.12 04:06:11 BoogieIcfgContainer [2022-12-13 16:06:11,463 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-12-13 16:06:11,464 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-12-13 16:06:11,464 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-12-13 16:06:11,467 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-12-13 16:06:11,467 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.12 04:06:10" (1/3) ... [2022-12-13 16:06:11,467 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@312b0880 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.12 04:06:11, skipping insertion in model container [2022-12-13 16:06:11,467 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.12 04:06:10" (2/3) ... [2022-12-13 16:06:11,468 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@312b0880 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.12 04:06:11, skipping insertion in model container [2022-12-13 16:06:11,468 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.12 04:06:11" (3/3) ... [2022-12-13 16:06:11,469 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2022-12-13 16:06:11,475 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2022-12-13 16:06:11,482 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-12-13 16:06:11,482 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2022-12-13 16:06:11,483 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2022-12-13 16:06:11,530 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2022-12-13 16:06:11,558 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 201 places, 216 transitions, 454 flow [2022-12-13 16:06:11,660 INFO L130 PetriNetUnfolder]: 41/406 cut-off events. [2022-12-13 16:06:11,660 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2022-12-13 16:06:11,665 INFO L83 FinitePrefix]: Finished finitePrefix Result has 426 conditions, 406 events. 41/406 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1425 event pairs, 0 based on Foata normal form. 0/357 useless extension candidates. Maximal degree in co-relation 227. Up to 8 conditions per place. [2022-12-13 16:06:11,665 INFO L82 GeneralOperation]: Start removeDead. Operand has 201 places, 216 transitions, 454 flow [2022-12-13 16:06:11,669 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 201 places, 214 transitions, 444 flow [2022-12-13 16:06:11,672 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2022-12-13 16:06:11,680 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 201 places, 214 transitions, 444 flow [2022-12-13 16:06:11,682 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 201 places, 214 transitions, 444 flow [2022-12-13 16:06:11,682 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 201 places, 214 transitions, 444 flow [2022-12-13 16:06:11,724 INFO L130 PetriNetUnfolder]: 35/382 cut-off events. [2022-12-13 16:06:11,724 INFO L131 PetriNetUnfolder]: For 4/4 co-relation queries the response was YES. [2022-12-13 16:06:11,726 INFO L83 FinitePrefix]: Finished finitePrefix Result has 398 conditions, 382 events. 35/382 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1279 event pairs, 0 based on Foata normal form. 0/335 useless extension candidates. Maximal degree in co-relation 225. Up to 8 conditions per place. [2022-12-13 16:06:11,728 INFO L119 LiptonReduction]: Number of co-enabled transitions 5174 [2022-12-13 16:06:27,872 INFO L134 LiptonReduction]: Checked pairs total: 12365 [2022-12-13 16:06:27,872 INFO L136 LiptonReduction]: Total number of compositions: 229 [2022-12-13 16:06:27,886 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-12-13 16:06:27,891 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;@23d97648, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-12-13 16:06:27,892 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2022-12-13 16:06:27,897 INFO L130 PetriNetUnfolder]: 0/25 cut-off events. [2022-12-13 16:06:27,898 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2022-12-13 16:06:27,898 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-12-13 16:06:27,898 INFO L209 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2022-12-13 16:06:27,899 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-12-13 16:06:27,903 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 16:06:27,903 INFO L85 PathProgramCache]: Analyzing trace with hash -2021248403, now seen corresponding path program 1 times [2022-12-13 16:06:27,909 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-12-13 16:06:27,910 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1336617488] [2022-12-13 16:06:27,910 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 16:06:27,910 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-12-13 16:06:28,073 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-12-13 16:06:28,074 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-12-13 16:06:28,125 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-12-13 16:06:28,149 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-12-13 16:06:28,151 INFO L360 BasicCegarLoop]: Counterexample is feasible [2022-12-13 16:06:28,152 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2022-12-13 16:06:28,154 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 4 remaining) [2022-12-13 16:06:28,154 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 4 remaining) [2022-12-13 16:06:28,154 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2022-12-13 16:06:28,155 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-12-13 16:06:28,155 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2022-12-13 16:06:28,158 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2022-12-13 16:06:28,158 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2022-12-13 16:06:28,188 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2022-12-13 16:06:28,192 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 239 places, 256 transitions, 560 flow [2022-12-13 16:06:28,335 INFO L130 PetriNetUnfolder]: 157/1207 cut-off events. [2022-12-13 16:06:28,335 INFO L131 PetriNetUnfolder]: For 72/72 co-relation queries the response was YES. [2022-12-13 16:06:28,343 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1304 conditions, 1207 events. 157/1207 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 30. Compared 6635 event pairs, 1 based on Foata normal form. 0/1057 useless extension candidates. Maximal degree in co-relation 725. Up to 32 conditions per place. [2022-12-13 16:06:28,343 INFO L82 GeneralOperation]: Start removeDead. Operand has 239 places, 256 transitions, 560 flow [2022-12-13 16:06:28,346 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 239 places, 256 transitions, 560 flow [2022-12-13 16:06:28,347 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2022-12-13 16:06:28,347 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 239 places, 256 transitions, 560 flow [2022-12-13 16:06:28,347 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 239 places, 256 transitions, 560 flow [2022-12-13 16:06:28,347 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 239 places, 256 transitions, 560 flow [2022-12-13 16:06:28,487 INFO L130 PetriNetUnfolder]: 157/1207 cut-off events. [2022-12-13 16:06:28,487 INFO L131 PetriNetUnfolder]: For 72/72 co-relation queries the response was YES. [2022-12-13 16:06:28,496 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1304 conditions, 1207 events. 157/1207 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 30. Compared 6635 event pairs, 1 based on Foata normal form. 0/1057 useless extension candidates. Maximal degree in co-relation 725. Up to 32 conditions per place. [2022-12-13 16:06:28,523 INFO L119 LiptonReduction]: Number of co-enabled transitions 14284 [2022-12-13 16:06:45,387 INFO L134 LiptonReduction]: Checked pairs total: 47339 [2022-12-13 16:06:45,387 INFO L136 LiptonReduction]: Total number of compositions: 250 [2022-12-13 16:06:45,390 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-12-13 16:06:45,391 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;@23d97648, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-12-13 16:06:45,391 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2022-12-13 16:06:45,398 INFO L130 PetriNetUnfolder]: 3/70 cut-off events. [2022-12-13 16:06:45,399 INFO L131 PetriNetUnfolder]: For 8/10 co-relation queries the response was YES. [2022-12-13 16:06:45,399 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-12-13 16:06:45,399 INFO L209 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 16:06:45,399 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2022-12-13 16:06:45,399 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 16:06:45,399 INFO L85 PathProgramCache]: Analyzing trace with hash -102018949, now seen corresponding path program 1 times [2022-12-13 16:06:45,399 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-12-13 16:06:45,399 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1954979361] [2022-12-13 16:06:45,399 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 16:06:45,400 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-12-13 16:06:45,419 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 16:06:45,480 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-12-13 16:06:45,480 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-12-13 16:06:45,480 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1954979361] [2022-12-13 16:06:45,480 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1954979361] provided 1 perfect and 0 imperfect interpolant sequences [2022-12-13 16:06:45,481 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-12-13 16:06:45,481 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-12-13 16:06:45,481 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1663687574] [2022-12-13 16:06:45,481 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-12-13 16:06:45,487 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-12-13 16:06:45,487 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-12-13 16:06:45,502 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-12-13 16:06:45,503 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-12-13 16:06:45,519 INFO L478 CegarLoopForPetriNet]: Number of universal loopers: 221 out of 506 [2022-12-13 16:06:45,522 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 62 places, 63 transitions, 174 flow. Second operand has 3 states, 3 states have (on average 223.66666666666666) internal successors, (671), 3 states have internal predecessors, (671), 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-12-13 16:06:45,522 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2022-12-13 16:06:45,522 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 221 of 506 [2022-12-13 16:06:45,523 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2022-12-13 16:06:52,831 INFO L130 PetriNetUnfolder]: 77273/117251 cut-off events. [2022-12-13 16:06:52,832 INFO L131 PetriNetUnfolder]: For 10732/10732 co-relation queries the response was YES. [2022-12-13 16:06:52,994 INFO L83 FinitePrefix]: Finished finitePrefix Result has 227125 conditions, 117251 events. 77273/117251 cut-off events. For 10732/10732 co-relation queries the response was YES. Maximal size of possible extension queue 4309. Compared 994633 event pairs, 27829 based on Foata normal form. 0/96629 useless extension candidates. Maximal degree in co-relation 160239. Up to 65541 conditions per place. [2022-12-13 16:06:53,351 INFO L137 encePairwiseOnDemand]: 499/506 looper letters, 85 selfloop transitions, 5 changer transitions 0/106 dead transitions. [2022-12-13 16:06:53,351 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 64 places, 106 transitions, 477 flow [2022-12-13 16:06:53,353 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-12-13 16:06:53,355 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2022-12-13 16:06:53,362 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 755 transitions. [2022-12-13 16:06:53,364 INFO L523 CegarLoopForPetriNet]: DFA transition density 0.497364953886693 [2022-12-13 16:06:53,365 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 755 transitions. [2022-12-13 16:06:53,365 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 755 transitions. [2022-12-13 16:06:53,367 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-12-13 16:06:53,369 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 755 transitions. [2022-12-13 16:06:53,372 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 251.66666666666666) internal successors, (755), 3 states have internal predecessors, (755), 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-12-13 16:06:53,379 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 506.0) internal successors, (2024), 4 states have internal predecessors, (2024), 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-12-13 16:06:53,379 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 506.0) internal successors, (2024), 4 states have internal predecessors, (2024), 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-12-13 16:06:53,381 INFO L175 Difference]: Start difference. First operand has 62 places, 63 transitions, 174 flow. Second operand 3 states and 755 transitions. [2022-12-13 16:06:53,382 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 64 places, 106 transitions, 477 flow [2022-12-13 16:06:53,488 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 64 places, 106 transitions, 477 flow, removed 0 selfloop flow, removed 0 redundant places. [2022-12-13 16:06:53,489 INFO L231 Difference]: Finished difference. Result has 66 places, 67 transitions, 214 flow [2022-12-13 16:06:53,490 INFO L271 CegarLoopForPetriNet]: {PETRI_ALPHABET=506, PETRI_DIFFERENCE_MINUEND_FLOW=174, PETRI_DIFFERENCE_MINUEND_PLACES=62, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=63, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=58, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=214, PETRI_PLACES=66, PETRI_TRANSITIONS=67} [2022-12-13 16:06:53,493 INFO L288 CegarLoopForPetriNet]: 62 programPoint places, 4 predicate places. [2022-12-13 16:06:53,493 INFO L495 AbstractCegarLoop]: Abstraction has has 66 places, 67 transitions, 214 flow [2022-12-13 16:06:53,493 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 223.66666666666666) internal successors, (671), 3 states have internal predecessors, (671), 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-12-13 16:06:53,493 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-12-13 16:06:53,493 INFO L209 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2022-12-13 16:06:53,494 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2022-12-13 16:06:53,494 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2022-12-13 16:06:53,494 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 16:06:53,494 INFO L85 PathProgramCache]: Analyzing trace with hash -1941990951, now seen corresponding path program 1 times [2022-12-13 16:06:53,494 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-12-13 16:06:53,494 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [664126924] [2022-12-13 16:06:53,494 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 16:06:53,495 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-12-13 16:06:53,537 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-12-13 16:06:53,537 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2022-12-13 16:06:53,561 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2022-12-13 16:06:53,565 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2022-12-13 16:06:53,566 INFO L360 BasicCegarLoop]: Counterexample is feasible [2022-12-13 16:06:53,566 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 5 remaining) [2022-12-13 16:06:53,566 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 5 remaining) [2022-12-13 16:06:53,566 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 5 remaining) [2022-12-13 16:06:53,566 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 5 remaining) [2022-12-13 16:06:53,567 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 5 remaining) [2022-12-13 16:06:53,567 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2022-12-13 16:06:53,567 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2022-12-13 16:06:53,568 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2022-12-13 16:06:53,568 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2022-12-13 16:06:53,592 INFO L144 ThreadInstanceAdder]: Constructed 12 joinOtherThreadTransitions. [2022-12-13 16:06:53,594 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 277 places, 296 transitions, 670 flow [2022-12-13 16:06:54,067 INFO L130 PetriNetUnfolder]: 655/3912 cut-off events. [2022-12-13 16:06:54,068 INFO L131 PetriNetUnfolder]: For 419/419 co-relation queries the response was YES. [2022-12-13 16:06:54,084 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4363 conditions, 3912 events. 655/3912 cut-off events. For 419/419 co-relation queries the response was YES. Maximal size of possible extension queue 57. Compared 29038 event pairs, 32 based on Foata normal form. 0/3433 useless extension candidates. Maximal degree in co-relation 2329. Up to 192 conditions per place. [2022-12-13 16:06:54,085 INFO L82 GeneralOperation]: Start removeDead. Operand has 277 places, 296 transitions, 670 flow [2022-12-13 16:06:54,094 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 277 places, 296 transitions, 670 flow [2022-12-13 16:06:54,094 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2022-12-13 16:06:54,095 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 277 places, 296 transitions, 670 flow [2022-12-13 16:06:54,095 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 277 places, 296 transitions, 670 flow [2022-12-13 16:06:54,095 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 277 places, 296 transitions, 670 flow [2022-12-13 16:06:54,518 INFO L130 PetriNetUnfolder]: 655/3912 cut-off events. [2022-12-13 16:06:54,518 INFO L131 PetriNetUnfolder]: For 419/419 co-relation queries the response was YES. [2022-12-13 16:06:54,539 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4363 conditions, 3912 events. 655/3912 cut-off events. For 419/419 co-relation queries the response was YES. Maximal size of possible extension queue 57. Compared 29038 event pairs, 32 based on Foata normal form. 0/3433 useless extension candidates. Maximal degree in co-relation 2329. Up to 192 conditions per place. [2022-12-13 16:06:54,614 INFO L119 LiptonReduction]: Number of co-enabled transitions 25878 [2022-12-13 16:07:12,562 INFO L134 LiptonReduction]: Checked pairs total: 94947 [2022-12-13 16:07:12,562 INFO L136 LiptonReduction]: Total number of compositions: 267 [2022-12-13 16:07:12,564 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-12-13 16:07:12,564 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;@23d97648, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2022-12-13 16:07:12,564 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2022-12-13 16:07:12,571 INFO L130 PetriNetUnfolder]: 3/70 cut-off events. [2022-12-13 16:07:12,571 INFO L131 PetriNetUnfolder]: For 12/14 co-relation queries the response was YES. [2022-12-13 16:07:12,571 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-12-13 16:07:12,571 INFO L209 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2022-12-13 16:07:12,571 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2022-12-13 16:07:12,572 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-12-13 16:07:12,572 INFO L85 PathProgramCache]: Analyzing trace with hash 1933337653, now seen corresponding path program 1 times [2022-12-13 16:07:12,572 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-12-13 16:07:12,572 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1251939930] [2022-12-13 16:07:12,572 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-12-13 16:07:12,572 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-12-13 16:07:12,593 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-12-13 16:07:12,665 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-12-13 16:07:12,665 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-12-13 16:07:12,665 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1251939930] [2022-12-13 16:07:12,666 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1251939930] provided 1 perfect and 0 imperfect interpolant sequences [2022-12-13 16:07:12,666 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-12-13 16:07:12,666 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2022-12-13 16:07:12,666 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [78076614] [2022-12-13 16:07:12,666 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-12-13 16:07:12,667 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-12-13 16:07:12,667 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-12-13 16:07:12,667 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-12-13 16:07:12,667 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-12-13 16:07:12,686 INFO L478 CegarLoopForPetriNet]: Number of universal loopers: 250 out of 563 [2022-12-13 16:07:12,687 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 83 places, 85 transitions, 248 flow. Second operand has 3 states, 3 states have (on average 252.66666666666666) internal successors, (758), 3 states have internal predecessors, (758), 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-12-13 16:07:12,687 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2022-12-13 16:07:12,687 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 250 of 563 [2022-12-13 16:07:12,687 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand