./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 e7bb482b Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread/twostage_3.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP --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 --- This is Ultimate 0.2.3-dev-e7bb482 [2023-11-06 21:14:31,203 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-06 21:14:31,319 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/config/svcomp-Reach-32bit-Automizer_Default.epf [2023-11-06 21:14:31,330 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-06 21:14:31,331 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-06 21:14:31,363 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-06 21:14:31,365 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-06 21:14:31,365 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-06 21:14:31,366 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-06 21:14:31,371 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-06 21:14:31,372 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-06 21:14:31,373 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-06 21:14:31,373 INFO L153 SettingsManager]: * Use SBE=true [2023-11-06 21:14:31,375 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-06 21:14:31,376 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2023-11-06 21:14:31,376 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-06 21:14:31,376 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-06 21:14:31,377 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-06 21:14:31,377 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-06 21:14:31,378 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2023-11-06 21:14:31,378 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-06 21:14:31,379 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2023-11-06 21:14:31,379 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-06 21:14:31,380 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2023-11-06 21:14:31,380 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-06 21:14:31,381 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-06 21:14:31,381 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-06 21:14:31,382 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-06 21:14:31,382 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-06 21:14:31,383 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-06 21:14:31,384 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-06 21:14:31,384 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2023-11-06 21:14:31,385 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-06 21:14:31,385 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-06 21:14:31,385 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-06 21:14:31,385 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2023-11-06 21:14:31,386 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-06 21:14:31,386 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-06 21:14:31,386 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-06 21:14:31,386 INFO L153 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_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/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_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP 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 [2023-11-06 21:14:31,712 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-06 21:14:31,749 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-06 21:14:31,754 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-06 21:14:31,755 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-06 21:14:31,756 INFO L274 PluginConnector]: CDTParser initialized [2023-11-06 21:14:31,757 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/../../sv-benchmarks/c/pthread/twostage_3.i [2023-11-06 21:14:35,005 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-06 21:14:35,389 INFO L384 CDTParser]: Found 1 translation units. [2023-11-06 21:14:35,390 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/sv-benchmarks/c/pthread/twostage_3.i [2023-11-06 21:14:35,419 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/data/ffbdebe92/fd501c1b40bc471cb8beb88c1c65aa31/FLAGa22a63734 [2023-11-06 21:14:35,437 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/data/ffbdebe92/fd501c1b40bc471cb8beb88c1c65aa31 [2023-11-06 21:14:35,444 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-06 21:14:35,445 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-06 21:14:35,450 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-06 21:14:35,451 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-06 21:14:35,460 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-06 21:14:35,461 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.11 09:14:35" (1/1) ... [2023-11-06 21:14:35,463 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5f624f8f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:35, skipping insertion in model container [2023-11-06 21:14:35,463 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.11 09:14:35" (1/1) ... [2023-11-06 21:14:35,541 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-06 21:14:36,283 WARN L240 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_1892749a-c2f9-495c-badf-ba731c7ffe7b/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2023-11-06 21:14:36,310 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 21:14:36,311 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 21:14:36,313 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-06 21:14:36,324 INFO L202 MainTranslator]: Completed pre-run [2023-11-06 21:14:36,380 WARN L240 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_1892749a-c2f9-495c-badf-ba731c7ffe7b/sv-benchmarks/c/pthread/twostage_3.i[58991,59004] [2023-11-06 21:14:36,407 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 21:14:36,423 WARN L1577 CHandler]: Possible shadowing of function lock [2023-11-06 21:14:36,424 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-06 21:14:36,514 WARN L672 CHandler]: The function fprintf is called, but not defined or handled by StandardFunctionHandler. [2023-11-06 21:14:36,521 INFO L206 MainTranslator]: Completed translation [2023-11-06 21:14:36,521 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36 WrapperNode [2023-11-06 21:14:36,522 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-06 21:14:36,523 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-06 21:14:36,523 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-06 21:14:36,523 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-06 21:14:36,531 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,557 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,590 INFO L138 Inliner]: procedures = 374, calls = 61, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 191 [2023-11-06 21:14:36,590 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-06 21:14:36,591 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-06 21:14:36,591 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-06 21:14:36,591 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-06 21:14:36,602 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,602 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,607 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,608 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,645 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,650 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,653 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,656 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,660 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-06 21:14:36,661 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-06 21:14:36,662 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-06 21:14:36,662 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-06 21:14:36,663 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (1/1) ... [2023-11-06 21:14:36,670 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-06 21:14:36,686 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/z3 [2023-11-06 21:14:36,703 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-06 21:14:36,725 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_1892749a-c2f9-495c-badf-ba731c7ffe7b/bin/uautomizer-verify-WvqO1wxjHP/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-06 21:14:36,753 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2023-11-06 21:14:36,754 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2023-11-06 21:14:36,754 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2023-11-06 21:14:36,754 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2023-11-06 21:14:36,754 INFO L130 BoogieDeclarations]: Found specification of procedure fprintf [2023-11-06 21:14:36,756 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-06 21:14:36,757 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-11-06 21:14:36,758 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-06 21:14:36,758 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-06 21:14:36,758 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-06 21:14:36,758 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-06 21:14:36,758 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-06 21:14:36,758 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-06 21:14:36,759 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-06 21:14:36,759 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-06 21:14:36,759 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-06 21:14:36,761 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-06 21:14:37,023 INFO L236 CfgBuilder]: Building ICFG [2023-11-06 21:14:37,025 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-06 21:14:37,554 INFO L277 CfgBuilder]: Performing block encoding [2023-11-06 21:14:37,574 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-06 21:14:37,574 INFO L302 CfgBuilder]: Removed 4 assume(true) statements. [2023-11-06 21:14:37,577 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.11 09:14:37 BoogieIcfgContainer [2023-11-06 21:14:37,578 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-06 21:14:37,584 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-06 21:14:37,585 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-06 21:14:37,590 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-06 21:14:37,590 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.11 09:14:35" (1/3) ... [2023-11-06 21:14:37,591 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3868c43d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.11 09:14:37, skipping insertion in model container [2023-11-06 21:14:37,592 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 09:14:36" (2/3) ... [2023-11-06 21:14:37,594 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3868c43d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.11 09:14:37, skipping insertion in model container [2023-11-06 21:14:37,594 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.11 09:14:37" (3/3) ... [2023-11-06 21:14:37,596 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2023-11-06 21:14:37,606 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2023-11-06 21:14:37,618 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-06 21:14:37,618 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2023-11-06 21:14:37,619 INFO L519 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-06 21:14:37,747 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-11-06 21:14:37,812 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 222 places, 237 transitions, 494 flow [2023-11-06 21:14:37,955 INFO L124 PetriNetUnfolderBase]: 41/442 cut-off events. [2023-11-06 21:14:37,955 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2023-11-06 21:14:37,966 INFO L83 FinitePrefix]: Finished finitePrefix Result has 459 conditions, 442 events. 41/442 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1632 event pairs, 0 based on Foata normal form. 0/393 useless extension candidates. Maximal degree in co-relation 246. Up to 8 conditions per place. [2023-11-06 21:14:37,967 INFO L82 GeneralOperation]: Start removeDead. Operand has 222 places, 237 transitions, 494 flow [2023-11-06 21:14:37,981 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 222 places, 235 transitions, 484 flow [2023-11-06 21:14:37,985 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-11-06 21:14:38,002 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 222 places, 235 transitions, 484 flow [2023-11-06 21:14:38,011 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 222 places, 235 transitions, 484 flow [2023-11-06 21:14:38,012 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 222 places, 235 transitions, 484 flow [2023-11-06 21:14:38,126 INFO L124 PetriNetUnfolderBase]: 35/414 cut-off events. [2023-11-06 21:14:38,126 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2023-11-06 21:14:38,132 INFO L83 FinitePrefix]: Finished finitePrefix Result has 427 conditions, 414 events. 35/414 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 1459 event pairs, 0 based on Foata normal form. 0/367 useless extension candidates. Maximal degree in co-relation 242. Up to 8 conditions per place. [2023-11-06 21:14:38,141 INFO L119 LiptonReduction]: Number of co-enabled transitions 5950 [2023-11-06 21:15:07,088 WARN L293 SmtUtils]: Spent 6.70s on a formula simplification. DAG size of input: 270 DAG size of output: 266 (called from [L 279] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-06 21:15:15,624 INFO L134 LiptonReduction]: Checked pairs total: 13971 [2023-11-06 21:15:15,625 INFO L136 LiptonReduction]: Total number of compositions: 260 [2023-11-06 21:15:15,645 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-06 21:15:15,652 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;@13a8fce8, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-11-06 21:15:15,652 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2023-11-06 21:15:15,662 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-06 21:15:15,663 INFO L124 PetriNetUnfolderBase]: 0/25 cut-off events. [2023-11-06 21:15:15,663 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-06 21:15:15,663 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-06 21:15:15,664 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-11-06 21:15:15,665 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2023-11-06 21:15:15,671 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-11-06 21:15:15,672 INFO L85 PathProgramCache]: Analyzing trace with hash 198436271, now seen corresponding path program 1 times [2023-11-06 21:15:15,685 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-06 21:15:15,685 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [630770175] [2023-11-06 21:15:15,686 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-06 21:15:15,686 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-06 21:15:16,259 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-06 21:15:16,276 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-06 21:15:16,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-06 21:15:16,439 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-06 21:15:16,441 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-06 21:15:16,443 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2023-11-06 21:15:16,448 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 4 remaining) [2023-11-06 21:15:16,449 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 4 remaining) [2023-11-06 21:15:16,450 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 4 remaining) [2023-11-06 21:15:16,451 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-06 21:15:16,451 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-11-06 21:15:16,461 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-06 21:15:16,461 INFO L519 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-06 21:15:16,525 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-11-06 21:15:16,540 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 262 places, 279 transitions, 602 flow [2023-11-06 21:15:16,870 INFO L124 PetriNetUnfolderBase]: 157/1321 cut-off events. [2023-11-06 21:15:16,870 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-06 21:15:16,884 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1410 conditions, 1321 events. 157/1321 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 30. Compared 7670 event pairs, 1 based on Foata normal form. 0/1171 useless extension candidates. Maximal degree in co-relation 785. Up to 32 conditions per place. [2023-11-06 21:15:16,884 INFO L82 GeneralOperation]: Start removeDead. Operand has 262 places, 279 transitions, 602 flow [2023-11-06 21:15:16,894 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 262 places, 279 transitions, 602 flow [2023-11-06 21:15:16,894 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-11-06 21:15:16,895 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 262 places, 279 transitions, 602 flow [2023-11-06 21:15:16,895 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 262 places, 279 transitions, 602 flow [2023-11-06 21:15:16,895 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 262 places, 279 transitions, 602 flow [2023-11-06 21:15:17,174 INFO L124 PetriNetUnfolderBase]: 157/1321 cut-off events. [2023-11-06 21:15:17,174 INFO L125 PetriNetUnfolderBase]: For 72/72 co-relation queries the response was YES. [2023-11-06 21:15:17,188 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1410 conditions, 1321 events. 157/1321 cut-off events. For 72/72 co-relation queries the response was YES. Maximal size of possible extension queue 30. Compared 7670 event pairs, 1 based on Foata normal form. 0/1171 useless extension candidates. Maximal degree in co-relation 785. Up to 32 conditions per place. [2023-11-06 21:15:17,272 INFO L119 LiptonReduction]: Number of co-enabled transitions 16328 [2023-11-06 21:15:40,990 WARN L293 SmtUtils]: Spent 5.70s on a formula simplification. DAG size of input: 270 DAG size of output: 266 (called from [L 279] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-06 21:15:48,282 WARN L293 SmtUtils]: Spent 5.84s on a formula simplification. DAG size of input: 285 DAG size of output: 278 (called from [L 279] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-06 21:15:50,649 INFO L134 LiptonReduction]: Checked pairs total: 53455 [2023-11-06 21:15:50,649 INFO L136 LiptonReduction]: Total number of compositions: 269 [2023-11-06 21:15:50,652 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-06 21:15:50,653 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;@13a8fce8, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-11-06 21:15:50,653 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-11-06 21:15:50,676 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-06 21:15:50,677 INFO L124 PetriNetUnfolderBase]: 3/70 cut-off events. [2023-11-06 21:15:50,677 INFO L125 PetriNetUnfolderBase]: For 8/10 co-relation queries the response was YES. [2023-11-06 21:15:50,677 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-06 21:15:50,678 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-06 21:15:50,678 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2023-11-06 21:15:50,679 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-11-06 21:15:50,679 INFO L85 PathProgramCache]: Analyzing trace with hash 1421387547, now seen corresponding path program 1 times [2023-11-06 21:15:50,679 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-06 21:15:50,679 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [957860143] [2023-11-06 21:15:50,679 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-06 21:15:50,680 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-06 21:15:50,750 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-06 21:15:50,931 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-06 21:15:50,931 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-06 21:15:50,931 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [957860143] [2023-11-06 21:15:50,932 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [957860143] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-06 21:15:50,932 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-06 21:15:50,932 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-06 21:15:50,932 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1357484383] [2023-11-06 21:15:50,933 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-06 21:15:50,941 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-06 21:15:50,947 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-06 21:15:50,968 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-06 21:15:50,969 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-06 21:15:50,991 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 244 out of 548 [2023-11-06 21:15:50,996 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 62 places, 63 transitions, 170 flow. Second operand has 3 states, 3 states have (on average 246.66666666666666) internal successors, (740), 3 states have internal predecessors, (740), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-06 21:15:50,996 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-06 21:15:50,996 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 244 of 548 [2023-11-06 21:15:50,998 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-06 21:16:05,047 INFO L124 PetriNetUnfolderBase]: 77273/117613 cut-off events. [2023-11-06 21:16:05,047 INFO L125 PetriNetUnfolderBase]: For 10748/10748 co-relation queries the response was YES. [2023-11-06 21:16:05,350 INFO L83 FinitePrefix]: Finished finitePrefix Result has 227419 conditions, 117613 events. 77273/117613 cut-off events. For 10748/10748 co-relation queries the response was YES. Maximal size of possible extension queue 4326. Compared 1002425 event pairs, 27829 based on Foata normal form. 0/97107 useless extension candidates. Maximal degree in co-relation 160509. Up to 65541 conditions per place. [2023-11-06 21:16:05,981 INFO L140 encePairwiseOnDemand]: 541/548 looper letters, 85 selfloop transitions, 5 changer transitions 0/106 dead transitions. [2023-11-06 21:16:05,981 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 64 places, 106 transitions, 473 flow [2023-11-06 21:16:05,983 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-06 21:16:05,986 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-06 21:16:06,005 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 824 transitions. [2023-11-06 21:16:06,013 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5012165450121655 [2023-11-06 21:16:06,014 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 824 transitions. [2023-11-06 21:16:06,015 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 824 transitions. [2023-11-06 21:16:06,022 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-06 21:16:06,026 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 824 transitions. [2023-11-06 21:16:06,039 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 274.6666666666667) internal successors, (824), 3 states have internal predecessors, (824), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-06 21:16:06,055 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 548.0) internal successors, (2192), 4 states have internal predecessors, (2192), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-06 21:16:06,058 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 548.0) internal successors, (2192), 4 states have internal predecessors, (2192), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-06 21:16:06,061 INFO L175 Difference]: Start difference. First operand has 62 places, 63 transitions, 170 flow. Second operand 3 states and 824 transitions. [2023-11-06 21:16:06,066 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 64 places, 106 transitions, 473 flow [2023-11-06 21:16:06,169 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 64 places, 106 transitions, 473 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-06 21:16:06,176 INFO L231 Difference]: Finished difference. Result has 66 places, 67 transitions, 210 flow [2023-11-06 21:16:06,179 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=548, PETRI_DIFFERENCE_MINUEND_FLOW=170, 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=210, PETRI_PLACES=66, PETRI_TRANSITIONS=67} [2023-11-06 21:16:06,187 INFO L281 CegarLoopForPetriNet]: 62 programPoint places, 4 predicate places. [2023-11-06 21:16:06,197 INFO L495 AbstractCegarLoop]: Abstraction has has 66 places, 67 transitions, 210 flow [2023-11-06 21:16:06,198 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 246.66666666666666) internal successors, (740), 3 states have internal predecessors, (740), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-06 21:16:06,198 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-06 21:16:06,199 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-11-06 21:16:06,199 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-06 21:16:06,199 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 3 more)] === [2023-11-06 21:16:06,200 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-11-06 21:16:06,200 INFO L85 PathProgramCache]: Analyzing trace with hash 305631047, now seen corresponding path program 1 times [2023-11-06 21:16:06,202 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-06 21:16:06,202 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [910499506] [2023-11-06 21:16:06,203 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-06 21:16:06,203 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-06 21:16:06,286 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-06 21:16:06,286 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-06 21:16:06,353 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-06 21:16:06,381 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-06 21:16:06,381 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-06 21:16:06,381 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (4 of 5 remaining) [2023-11-06 21:16:06,383 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 5 remaining) [2023-11-06 21:16:06,383 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (2 of 5 remaining) [2023-11-06 21:16:06,384 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (1 of 5 remaining) [2023-11-06 21:16:06,384 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 5 remaining) [2023-11-06 21:16:06,386 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-06 21:16:06,386 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-11-06 21:16:06,387 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-06 21:16:06,387 INFO L519 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-06 21:16:06,589 INFO L144 ThreadInstanceAdder]: Constructed 12 joinOtherThreadTransitions. [2023-11-06 21:16:06,594 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 302 places, 321 transitions, 714 flow [2023-11-06 21:16:07,597 INFO L124 PetriNetUnfolderBase]: 655/4292 cut-off events. [2023-11-06 21:16:07,598 INFO L125 PetriNetUnfolderBase]: For 419/419 co-relation queries the response was YES. [2023-11-06 21:16:07,679 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4728 conditions, 4292 events. 655/4292 cut-off events. For 419/419 co-relation queries the response was YES. Maximal size of possible extension queue 66. Compared 33316 event pairs, 32 based on Foata normal form. 0/3813 useless extension candidates. Maximal degree in co-relation 2526. Up to 192 conditions per place. [2023-11-06 21:16:07,679 INFO L82 GeneralOperation]: Start removeDead. Operand has 302 places, 321 transitions, 714 flow [2023-11-06 21:16:07,705 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 302 places, 321 transitions, 714 flow [2023-11-06 21:16:07,705 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-11-06 21:16:07,706 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 302 places, 321 transitions, 714 flow [2023-11-06 21:16:07,706 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 302 places, 321 transitions, 714 flow [2023-11-06 21:16:07,706 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 302 places, 321 transitions, 714 flow [2023-11-06 21:16:08,674 INFO L124 PetriNetUnfolderBase]: 655/4292 cut-off events. [2023-11-06 21:16:08,674 INFO L125 PetriNetUnfolderBase]: For 419/419 co-relation queries the response was YES. [2023-11-06 21:16:08,713 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4728 conditions, 4292 events. 655/4292 cut-off events. For 419/419 co-relation queries the response was YES. Maximal size of possible extension queue 66. Compared 33316 event pairs, 32 based on Foata normal form. 0/3813 useless extension candidates. Maximal degree in co-relation 2526. Up to 192 conditions per place. [2023-11-06 21:16:08,878 INFO L119 LiptonReduction]: Number of co-enabled transitions 29418 [2023-11-06 21:16:36,763 WARN L293 SmtUtils]: Spent 5.70s on a formula simplification. DAG size of input: 270 DAG size of output: 266 (called from [L 279] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-06 21:16:45,701 WARN L293 SmtUtils]: Spent 6.19s on a formula simplification. DAG size of input: 285 DAG size of output: 278 (called from [L 279] de.uni_freiburg.informatik.ultimate.lib.modelcheckerutils.cfg.transitions.TransFormulaUtils.sequentialComposition) [2023-11-06 21:16:46,878 INFO L134 LiptonReduction]: Checked pairs total: 107760 [2023-11-06 21:16:46,878 INFO L136 LiptonReduction]: Total number of compositions: 306 [2023-11-06 21:16:46,881 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-06 21:16:46,882 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;@13a8fce8, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-11-06 21:16:46,883 INFO L358 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2023-11-06 21:16:46,896 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-06 21:16:46,897 INFO L124 PetriNetUnfolderBase]: 3/70 cut-off events. [2023-11-06 21:16:46,897 INFO L125 PetriNetUnfolderBase]: For 12/14 co-relation queries the response was YES. [2023-11-06 21:16:46,897 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-06 21:16:46,897 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2023-11-06 21:16:46,898 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 4 more)] === [2023-11-06 21:16:46,898 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-11-06 21:16:46,898 INFO L85 PathProgramCache]: Analyzing trace with hash 119791708, now seen corresponding path program 1 times [2023-11-06 21:16:46,899 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-06 21:16:46,899 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2098205507] [2023-11-06 21:16:46,899 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-06 21:16:46,900 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-06 21:16:46,936 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-06 21:16:47,024 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-06 21:16:47,025 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-06 21:16:47,025 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2098205507] [2023-11-06 21:16:47,026 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2098205507] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-06 21:16:47,026 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-06 21:16:47,026 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-06 21:16:47,026 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [978047980] [2023-11-06 21:16:47,027 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-06 21:16:47,027 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-06 21:16:47,028 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-06 21:16:47,028 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-06 21:16:47,029 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-06 21:16:47,062 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 275 out of 627 [2023-11-06 21:16:47,064 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 83 places, 85 transitions, 242 flow. Second operand has 3 states, 3 states have (on average 277.6666666666667) internal successors, (833), 3 states have internal predecessors, (833), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-06 21:16:47,064 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-06 21:16:47,065 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 275 of 627 [2023-11-06 21:16:47,065 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand