./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread-ext/25_stack_longest-1-pthread.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc 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_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread-ext/25_stack_longest-1-pthread.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 3e10ed02255b37a861fcd919e1a26aad90b67620d926f632b070967147a10b69 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 21:44:27,244 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 21:44:27,307 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-24 21:44:27,312 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 21:44:27,313 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-24 21:44:27,338 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 21:44:27,339 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-24 21:44:27,340 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-24 21:44:27,341 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-24 21:44:27,341 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-24 21:44:27,342 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 21:44:27,343 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-24 21:44:27,343 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 21:44:27,344 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 21:44:27,345 INFO L153 SettingsManager]: * Use SBE=true [2023-11-24 21:44:27,345 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 21:44:27,346 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 21:44:27,346 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 21:44:27,347 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 21:44:27,347 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 21:44:27,348 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-24 21:44:27,352 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-24 21:44:27,352 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-24 21:44:27,353 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 21:44:27,353 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 21:44:27,354 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 21:44:27,354 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 21:44:27,355 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 21:44:27,355 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 21:44:27,356 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-24 21:44:27,356 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-24 21:44:27,357 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-24 21:44:27,357 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 21:44:27,358 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 21:44:27,358 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 21:44:27,359 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-24 21:44:27,359 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 21:44:27,359 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-24 21:44:27,360 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-24 21:44:27,360 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-24 21:44:27,361 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 21:44:27,361 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_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/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_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 3e10ed02255b37a861fcd919e1a26aad90b67620d926f632b070967147a10b69 [2023-11-24 21:44:27,608 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 21:44:27,640 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 21:44:27,643 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 21:44:27,644 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 21:44:27,645 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 21:44:27,646 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/../../sv-benchmarks/c/pthread-ext/25_stack_longest-1-pthread.i [2023-11-24 21:44:30,726 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 21:44:31,118 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 21:44:31,118 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/sv-benchmarks/c/pthread-ext/25_stack_longest-1-pthread.i [2023-11-24 21:44:31,134 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/data/5e2421c1d/964283004a1a4776aab4b2820d6be292/FLAG13385f075 [2023-11-24 21:44:31,147 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/data/5e2421c1d/964283004a1a4776aab4b2820d6be292 [2023-11-24 21:44:31,150 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 21:44:31,151 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 21:44:31,152 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 21:44:31,153 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 21:44:31,157 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 21:44:31,158 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,159 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@104e77a3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31, skipping insertion in model container [2023-11-24 21:44:31,160 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,214 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 21:44:31,709 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 21:44:31,723 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 21:44:31,800 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 21:44:31,855 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 21:44:31,855 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 21:44:31,863 INFO L206 MainTranslator]: Completed translation [2023-11-24 21:44:31,864 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31 WrapperNode [2023-11-24 21:44:31,864 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 21:44:31,866 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 21:44:31,867 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 21:44:31,867 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 21:44:31,875 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,910 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,940 INFO L138 Inliner]: procedures = 172, calls = 39, calls flagged for inlining = 10, calls inlined = 9, statements flattened = 138 [2023-11-24 21:44:31,940 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 21:44:31,941 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 21:44:31,941 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 21:44:31,941 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 21:44:31,954 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,954 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,957 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,974 INFO L175 MemorySlicer]: Split 13 memory accesses to 4 slices as follows [2, 5, 5, 1]. 38 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 5, 5, 0]. The 1 writes are split as follows [0, 0, 0, 1]. [2023-11-24 21:44:31,974 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,974 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,983 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:31,996 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:32,007 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:32,009 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:32,012 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 21:44:32,013 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 21:44:32,013 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 21:44:32,014 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 21:44:32,015 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (1/1) ... [2023-11-24 21:44:32,032 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 21:44:32,053 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/z3 [2023-11-24 21:44:32,067 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-24 21:44:32,098 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b23bfffd-d498-4dd0-a206-e3a41efdc6e1/bin/uautomizer-verify-NlZe1sFDwI/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-24 21:44:32,114 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-11-24 21:44:32,114 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-11-24 21:44:32,114 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-24 21:44:32,116 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-24 21:44:32,116 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-24 21:44:32,116 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-24 21:44:32,116 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-24 21:44:32,116 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-24 21:44:32,116 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 21:44:32,117 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 21:44:32,119 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 21:44:32,119 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-24 21:44:32,119 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-24 21:44:32,120 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-24 21:44:32,120 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-24 21:44:32,120 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-24 21:44:32,120 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-24 21:44:32,120 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 21:44:32,121 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 21:44:32,123 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-24 21:44:32,265 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 21:44:32,267 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 21:44:32,564 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 21:44:32,845 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 21:44:32,846 INFO L309 CfgBuilder]: Removed 2 assume(true) statements. [2023-11-24 21:44:32,846 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 09:44:32 BoogieIcfgContainer [2023-11-24 21:44:32,847 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 21:44:32,850 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-24 21:44:32,850 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-24 21:44:32,854 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-24 21:44:32,854 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 24.11 09:44:31" (1/3) ... [2023-11-24 21:44:32,855 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7cfa4943 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 09:44:32, skipping insertion in model container [2023-11-24 21:44:32,855 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 09:44:31" (2/3) ... [2023-11-24 21:44:32,856 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7cfa4943 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 09:44:32, skipping insertion in model container [2023-11-24 21:44:32,856 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 09:44:32" (3/3) ... [2023-11-24 21:44:32,857 INFO L112 eAbstractionObserver]: Analyzing ICFG 25_stack_longest-1-pthread.i [2023-11-24 21:44:32,878 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-24 21:44:32,879 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2023-11-24 21:44:32,879 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-24 21:44:32,959 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-24 21:44:33,008 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 43 places, 44 transitions, 92 flow [2023-11-24 21:44:33,073 INFO L124 PetriNetUnfolderBase]: 4/51 cut-off events. [2023-11-24 21:44:33,073 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 21:44:33,083 INFO L83 FinitePrefix]: Finished finitePrefix Result has 55 conditions, 51 events. 4/51 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 73 event pairs, 0 based on Foata normal form. 0/36 useless extension candidates. Maximal degree in co-relation 41. Up to 2 conditions per place. [2023-11-24 21:44:33,083 INFO L82 GeneralOperation]: Start removeDead. Operand has 43 places, 44 transitions, 92 flow [2023-11-24 21:44:33,088 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 43 places, 44 transitions, 92 flow [2023-11-24 21:44:33,097 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 21:44:33,103 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@4cc19896, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 21:44:33,104 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-11-24 21:44:33,107 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 21:44:33,108 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 21:44:33,108 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 21:44:33,108 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:44:33,109 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 21:44:33,109 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-24 21:44:33,115 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:44:33,115 INFO L85 PathProgramCache]: Analyzing trace with hash 408259, now seen corresponding path program 1 times [2023-11-24 21:44:33,126 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:44:33,126 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [502079345] [2023-11-24 21:44:33,127 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:44:33,127 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:44:33,272 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:44:33,500 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-24 21:44:33,501 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:44:33,501 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [502079345] [2023-11-24 21:44:33,502 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [502079345] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:44:33,502 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:44:33,503 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 21:44:33,505 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1659593185] [2023-11-24 21:44:33,508 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:44:33,520 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:44:33,527 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:44:33,572 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:44:33,573 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:44:33,587 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 13 out of 44 [2023-11-24 21:44:33,589 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 43 places, 44 transitions, 92 flow. Second operand has 3 states, 3 states have (on average 14.0) internal successors, (42), 3 states have internal predecessors, (42), 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-24 21:44:33,589 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:44:33,590 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 13 of 44 [2023-11-24 21:44:33,591 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:44:33,699 INFO L124 PetriNetUnfolderBase]: 72/197 cut-off events. [2023-11-24 21:44:33,699 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 21:44:33,700 INFO L83 FinitePrefix]: Finished finitePrefix Result has 357 conditions, 197 events. 72/197 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 579 event pairs, 60 based on Foata normal form. 0/189 useless extension candidates. Maximal degree in co-relation 341. Up to 155 conditions per place. [2023-11-24 21:44:33,703 INFO L140 encePairwiseOnDemand]: 40/44 looper letters, 26 selfloop transitions, 1 changer transitions 0/39 dead transitions. [2023-11-24 21:44:33,704 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 41 places, 39 transitions, 136 flow [2023-11-24 21:44:33,705 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:44:33,707 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:44:33,715 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 69 transitions. [2023-11-24 21:44:33,717 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5227272727272727 [2023-11-24 21:44:33,718 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 69 transitions. [2023-11-24 21:44:33,719 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 69 transitions. [2023-11-24 21:44:33,720 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:44:33,723 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 69 transitions. [2023-11-24 21:44:33,726 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 23.0) internal successors, (69), 3 states have internal predecessors, (69), 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-24 21:44:33,732 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 44.0) internal successors, (176), 4 states have internal predecessors, (176), 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-24 21:44:33,733 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 44.0) internal successors, (176), 4 states have internal predecessors, (176), 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-24 21:44:33,735 INFO L175 Difference]: Start difference. First operand has 43 places, 44 transitions, 92 flow. Second operand 3 states and 69 transitions. [2023-11-24 21:44:33,736 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 41 places, 39 transitions, 136 flow [2023-11-24 21:44:33,739 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 39 transitions, 136 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-24 21:44:33,742 INFO L231 Difference]: Finished difference. Result has 41 places, 39 transitions, 84 flow [2023-11-24 21:44:33,745 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=44, PETRI_DIFFERENCE_MINUEND_FLOW=82, PETRI_DIFFERENCE_MINUEND_PLACES=39, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=39, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=38, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=84, PETRI_PLACES=41, PETRI_TRANSITIONS=39} [2023-11-24 21:44:33,751 INFO L281 CegarLoopForPetriNet]: 43 programPoint places, -2 predicate places. [2023-11-24 21:44:33,752 INFO L495 AbstractCegarLoop]: Abstraction has has 41 places, 39 transitions, 84 flow [2023-11-24 21:44:33,752 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 14.0) internal successors, (42), 3 states have internal predecessors, (42), 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-24 21:44:33,752 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:44:33,752 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 21:44:33,753 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-24 21:44:33,753 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-24 21:44:33,754 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:44:33,754 INFO L85 PathProgramCache]: Analyzing trace with hash 408260, now seen corresponding path program 1 times [2023-11-24 21:44:33,754 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:44:33,755 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [283285979] [2023-11-24 21:44:33,755 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:44:33,756 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:44:33,797 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:44:33,884 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-24 21:44:33,884 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:44:33,884 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [283285979] [2023-11-24 21:44:33,884 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [283285979] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:44:33,885 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:44:33,885 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 21:44:33,885 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1992249482] [2023-11-24 21:44:33,885 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:44:33,886 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:44:33,887 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:44:33,887 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:44:33,888 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:44:33,936 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 14 out of 44 [2023-11-24 21:44:33,936 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 41 places, 39 transitions, 84 flow. Second operand has 3 states, 3 states have (on average 15.0) internal successors, (45), 3 states have internal predecessors, (45), 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-24 21:44:33,936 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:44:33,937 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 14 of 44 [2023-11-24 21:44:33,937 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:44:34,094 INFO L124 PetriNetUnfolderBase]: 49/144 cut-off events. [2023-11-24 21:44:34,095 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-24 21:44:34,096 INFO L83 FinitePrefix]: Finished finitePrefix Result has 262 conditions, 144 events. 49/144 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 361 event pairs, 40 based on Foata normal form. 22/160 useless extension candidates. Maximal degree in co-relation 255. Up to 111 conditions per place. [2023-11-24 21:44:34,098 INFO L140 encePairwiseOnDemand]: 42/44 looper letters, 25 selfloop transitions, 1 changer transitions 0/38 dead transitions. [2023-11-24 21:44:34,098 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 42 places, 38 transitions, 134 flow [2023-11-24 21:44:34,099 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:44:34,099 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:44:34,102 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 69 transitions. [2023-11-24 21:44:34,103 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5227272727272727 [2023-11-24 21:44:34,103 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 69 transitions. [2023-11-24 21:44:34,103 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 69 transitions. [2023-11-24 21:44:34,104 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:44:34,104 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 69 transitions. [2023-11-24 21:44:34,107 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 23.0) internal successors, (69), 3 states have internal predecessors, (69), 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-24 21:44:34,109 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 44.0) internal successors, (176), 4 states have internal predecessors, (176), 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-24 21:44:34,109 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 44.0) internal successors, (176), 4 states have internal predecessors, (176), 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-24 21:44:34,110 INFO L175 Difference]: Start difference. First operand has 41 places, 39 transitions, 84 flow. Second operand 3 states and 69 transitions. [2023-11-24 21:44:34,111 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 42 places, 38 transitions, 134 flow [2023-11-24 21:44:34,114 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 41 places, 38 transitions, 133 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-24 21:44:34,117 INFO L231 Difference]: Finished difference. Result has 41 places, 38 transitions, 83 flow [2023-11-24 21:44:34,118 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=44, PETRI_DIFFERENCE_MINUEND_FLOW=81, PETRI_DIFFERENCE_MINUEND_PLACES=39, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=38, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=37, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=83, PETRI_PLACES=41, PETRI_TRANSITIONS=38} [2023-11-24 21:44:34,119 INFO L281 CegarLoopForPetriNet]: 43 programPoint places, -2 predicate places. [2023-11-24 21:44:34,119 INFO L495 AbstractCegarLoop]: Abstraction has has 41 places, 38 transitions, 83 flow [2023-11-24 21:44:34,119 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 15.0) internal successors, (45), 3 states have internal predecessors, (45), 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-24 21:44:34,120 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:44:34,120 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2023-11-24 21:44:34,121 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-24 21:44:34,126 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 6 more)] === [2023-11-24 21:44:34,128 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:44:34,129 INFO L85 PathProgramCache]: Analyzing trace with hash 1874988019, now seen corresponding path program 1 times [2023-11-24 21:44:34,130 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:44:34,130 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1799156760] [2023-11-24 21:44:34,131 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:44:34,131 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:44:34,167 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 21:44:34,168 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 21:44:34,183 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 21:44:34,225 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-24 21:44:34,225 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-24 21:44:34,227 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 10 remaining) [2023-11-24 21:44:34,230 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (8 of 10 remaining) [2023-11-24 21:44:34,230 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (7 of 10 remaining) [2023-11-24 21:44:34,230 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (6 of 10 remaining) [2023-11-24 21:44:34,231 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 10 remaining) [2023-11-24 21:44:34,231 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 10 remaining) [2023-11-24 21:44:34,232 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 10 remaining) [2023-11-24 21:44:34,232 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (2 of 10 remaining) [2023-11-24 21:44:34,233 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (1 of 10 remaining) [2023-11-24 21:44:34,233 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 10 remaining) [2023-11-24 21:44:34,234 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-11-24 21:44:34,234 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-24 21:44:34,237 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-24 21:44:34,237 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-24 21:44:34,320 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-24 21:44:34,330 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 75 places, 78 transitions, 166 flow [2023-11-24 21:44:34,349 INFO L124 PetriNetUnfolderBase]: 8/93 cut-off events. [2023-11-24 21:44:34,350 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2023-11-24 21:44:34,354 INFO L83 FinitePrefix]: Finished finitePrefix Result has 101 conditions, 93 events. 8/93 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 213 event pairs, 0 based on Foata normal form. 0/67 useless extension candidates. Maximal degree in co-relation 74. Up to 3 conditions per place. [2023-11-24 21:44:34,354 INFO L82 GeneralOperation]: Start removeDead. Operand has 75 places, 78 transitions, 166 flow [2023-11-24 21:44:34,356 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 75 places, 78 transitions, 166 flow [2023-11-24 21:44:34,358 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 21:44:34,366 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@4cc19896, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 21:44:34,366 INFO L358 AbstractCegarLoop]: Starting to check reachability of 13 error locations. [2023-11-24 21:44:34,368 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 21:44:34,368 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 21:44:34,368 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 21:44:34,369 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:44:34,369 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 21:44:34,369 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-11-24 21:44:34,370 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:44:34,370 INFO L85 PathProgramCache]: Analyzing trace with hash 485713, now seen corresponding path program 1 times [2023-11-24 21:44:34,370 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:44:34,371 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1669647422] [2023-11-24 21:44:34,371 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:44:34,371 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:44:34,386 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:44:34,442 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-24 21:44:34,442 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:44:34,442 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1669647422] [2023-11-24 21:44:34,442 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1669647422] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:44:34,442 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:44:34,443 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 21:44:34,443 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1559905352] [2023-11-24 21:44:34,443 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:44:34,444 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:44:34,444 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:44:34,444 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:44:34,445 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:44:34,456 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 23 out of 78 [2023-11-24 21:44:34,456 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 78 transitions, 166 flow. Second operand has 3 states, 3 states have (on average 24.0) internal successors, (72), 3 states have internal predecessors, (72), 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-24 21:44:34,456 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:44:34,458 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 23 of 78 [2023-11-24 21:44:34,458 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:44:35,560 INFO L124 PetriNetUnfolderBase]: 3436/6032 cut-off events. [2023-11-24 21:44:35,560 INFO L125 PetriNetUnfolderBase]: For 69/69 co-relation queries the response was YES. [2023-11-24 21:44:35,576 INFO L83 FinitePrefix]: Finished finitePrefix Result has 11296 conditions, 6032 events. 3436/6032 cut-off events. For 69/69 co-relation queries the response was YES. Maximal size of possible extension queue 175. Compared 37133 event pairs, 3000 based on Foata normal form. 0/5793 useless extension candidates. Maximal degree in co-relation 8789. Up to 5195 conditions per place. [2023-11-24 21:44:35,626 INFO L140 encePairwiseOnDemand]: 73/78 looper letters, 49 selfloop transitions, 1 changer transitions 0/72 dead transitions. [2023-11-24 21:44:35,626 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 73 places, 72 transitions, 254 flow [2023-11-24 21:44:35,627 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:44:35,627 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:44:35,630 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 123 transitions. [2023-11-24 21:44:35,632 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5256410256410257 [2023-11-24 21:44:35,632 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 123 transitions. [2023-11-24 21:44:35,632 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 123 transitions. [2023-11-24 21:44:35,633 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:44:35,633 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 123 transitions. [2023-11-24 21:44:35,635 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 41.0) internal successors, (123), 3 states have internal predecessors, (123), 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-24 21:44:35,637 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 78.0) internal successors, (312), 4 states have internal predecessors, (312), 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-24 21:44:35,637 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 78.0) internal successors, (312), 4 states have internal predecessors, (312), 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-24 21:44:35,637 INFO L175 Difference]: Start difference. First operand has 75 places, 78 transitions, 166 flow. Second operand 3 states and 123 transitions. [2023-11-24 21:44:35,638 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 73 places, 72 transitions, 254 flow [2023-11-24 21:44:35,640 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 72 transitions, 254 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-24 21:44:35,643 INFO L231 Difference]: Finished difference. Result has 73 places, 72 transitions, 156 flow [2023-11-24 21:44:35,643 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=78, PETRI_DIFFERENCE_MINUEND_FLOW=154, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=72, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=71, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=156, PETRI_PLACES=73, PETRI_TRANSITIONS=72} [2023-11-24 21:44:35,646 INFO L281 CegarLoopForPetriNet]: 75 programPoint places, -2 predicate places. [2023-11-24 21:44:35,646 INFO L495 AbstractCegarLoop]: Abstraction has has 73 places, 72 transitions, 156 flow [2023-11-24 21:44:35,647 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 24.0) internal successors, (72), 3 states have internal predecessors, (72), 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-24 21:44:35,647 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:44:35,647 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 21:44:35,647 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-24 21:44:35,648 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-11-24 21:44:35,648 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:44:35,648 INFO L85 PathProgramCache]: Analyzing trace with hash 485714, now seen corresponding path program 1 times [2023-11-24 21:44:35,649 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:44:35,649 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2046019799] [2023-11-24 21:44:35,649 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:44:35,649 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:44:35,667 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:44:35,732 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-24 21:44:35,733 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:44:35,733 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2046019799] [2023-11-24 21:44:35,733 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2046019799] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:44:35,734 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:44:35,735 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 21:44:35,736 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [199006534] [2023-11-24 21:44:35,736 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:44:35,736 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:44:35,737 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:44:35,737 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:44:35,737 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:44:35,743 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 24 out of 78 [2023-11-24 21:44:35,744 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 73 places, 72 transitions, 156 flow. Second operand has 3 states, 3 states have (on average 25.0) internal successors, (75), 3 states have internal predecessors, (75), 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-24 21:44:35,744 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:44:35,744 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 24 of 78 [2023-11-24 21:44:35,744 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:44:36,524 INFO L124 PetriNetUnfolderBase]: 2467/4418 cut-off events. [2023-11-24 21:44:36,524 INFO L125 PetriNetUnfolderBase]: For 68/68 co-relation queries the response was YES. [2023-11-24 21:44:36,534 INFO L83 FinitePrefix]: Finished finitePrefix Result has 8275 conditions, 4418 events. 2467/4418 cut-off events. For 68/68 co-relation queries the response was YES. Maximal size of possible extension queue 137. Compared 26196 event pairs, 2140 based on Foata normal form. 463/4698 useless extension candidates. Maximal degree in co-relation 8267. Up to 3786 conditions per place. [2023-11-24 21:44:36,563 INFO L140 encePairwiseOnDemand]: 76/78 looper letters, 48 selfloop transitions, 1 changer transitions 0/71 dead transitions. [2023-11-24 21:44:36,563 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 71 transitions, 252 flow [2023-11-24 21:44:36,563 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:44:36,563 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:44:36,565 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 122 transitions. [2023-11-24 21:44:36,566 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5213675213675214 [2023-11-24 21:44:36,567 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 122 transitions. [2023-11-24 21:44:36,567 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 122 transitions. [2023-11-24 21:44:36,568 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:44:36,568 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 122 transitions. [2023-11-24 21:44:36,568 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 40.666666666666664) internal successors, (122), 3 states have internal predecessors, (122), 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-24 21:44:36,571 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 78.0) internal successors, (312), 4 states have internal predecessors, (312), 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-24 21:44:36,571 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 78.0) internal successors, (312), 4 states have internal predecessors, (312), 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-24 21:44:36,571 INFO L175 Difference]: Start difference. First operand has 73 places, 72 transitions, 156 flow. Second operand 3 states and 122 transitions. [2023-11-24 21:44:36,571 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 71 transitions, 252 flow [2023-11-24 21:44:36,572 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 71 transitions, 251 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-24 21:44:36,574 INFO L231 Difference]: Finished difference. Result has 73 places, 71 transitions, 155 flow [2023-11-24 21:44:36,574 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=78, PETRI_DIFFERENCE_MINUEND_FLOW=153, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=71, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=70, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=155, PETRI_PLACES=73, PETRI_TRANSITIONS=71} [2023-11-24 21:44:36,576 INFO L281 CegarLoopForPetriNet]: 75 programPoint places, -2 predicate places. [2023-11-24 21:44:36,576 INFO L495 AbstractCegarLoop]: Abstraction has has 73 places, 71 transitions, 155 flow [2023-11-24 21:44:36,577 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 25.0) internal successors, (75), 3 states have internal predecessors, (75), 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-24 21:44:36,577 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:44:36,577 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2023-11-24 21:44:36,577 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-24 21:44:36,577 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 9 more)] === [2023-11-24 21:44:36,578 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:44:36,578 INFO L85 PathProgramCache]: Analyzing trace with hash 635840935, now seen corresponding path program 1 times [2023-11-24 21:44:36,578 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:44:36,578 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [594381152] [2023-11-24 21:44:36,578 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:44:36,579 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:44:36,603 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 21:44:36,603 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 21:44:36,619 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 21:44:36,630 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-24 21:44:36,630 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-24 21:44:36,630 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (12 of 13 remaining) [2023-11-24 21:44:36,630 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (11 of 13 remaining) [2023-11-24 21:44:36,631 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (10 of 13 remaining) [2023-11-24 21:44:36,631 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (9 of 13 remaining) [2023-11-24 21:44:36,631 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 13 remaining) [2023-11-24 21:44:36,631 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 13 remaining) [2023-11-24 21:44:36,631 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (6 of 13 remaining) [2023-11-24 21:44:36,632 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (5 of 13 remaining) [2023-11-24 21:44:36,632 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (4 of 13 remaining) [2023-11-24 21:44:36,632 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (3 of 13 remaining) [2023-11-24 21:44:36,632 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (2 of 13 remaining) [2023-11-24 21:44:36,633 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (1 of 13 remaining) [2023-11-24 21:44:36,633 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 13 remaining) [2023-11-24 21:44:36,633 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-24 21:44:36,633 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-24 21:44:36,634 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-24 21:44:36,634 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-24 21:44:36,722 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-24 21:44:36,728 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 107 places, 112 transitions, 242 flow [2023-11-24 21:44:36,751 INFO L124 PetriNetUnfolderBase]: 12/135 cut-off events. [2023-11-24 21:44:36,751 INFO L125 PetriNetUnfolderBase]: For 7/7 co-relation queries the response was YES. [2023-11-24 21:44:36,753 INFO L83 FinitePrefix]: Finished finitePrefix Result has 148 conditions, 135 events. 12/135 cut-off events. For 7/7 co-relation queries the response was YES. Maximal size of possible extension queue 9. Compared 407 event pairs, 0 based on Foata normal form. 0/98 useless extension candidates. Maximal degree in co-relation 107. Up to 4 conditions per place. [2023-11-24 21:44:36,753 INFO L82 GeneralOperation]: Start removeDead. Operand has 107 places, 112 transitions, 242 flow [2023-11-24 21:44:36,756 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 107 places, 112 transitions, 242 flow [2023-11-24 21:44:36,759 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 21:44:36,765 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@4cc19896, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 21:44:36,765 INFO L358 AbstractCegarLoop]: Starting to check reachability of 16 error locations. [2023-11-24 21:44:36,767 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 21:44:36,767 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 21:44:36,767 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 21:44:36,767 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:44:36,767 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 21:44:36,768 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2023-11-24 21:44:36,768 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:44:36,769 INFO L85 PathProgramCache]: Analyzing trace with hash 596929, now seen corresponding path program 1 times [2023-11-24 21:44:36,769 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:44:36,770 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [544140202] [2023-11-24 21:44:36,770 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:44:36,771 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:44:36,779 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:44:36,810 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-24 21:44:36,810 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:44:36,810 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [544140202] [2023-11-24 21:44:36,811 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [544140202] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:44:36,811 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:44:36,811 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 21:44:36,811 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1360308290] [2023-11-24 21:44:36,811 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:44:36,812 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:44:36,814 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:44:36,814 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:44:36,815 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:44:36,825 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 33 out of 112 [2023-11-24 21:44:36,825 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 107 places, 112 transitions, 242 flow. Second operand has 3 states, 3 states have (on average 34.0) internal successors, (102), 3 states have internal predecessors, (102), 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-24 21:44:36,826 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:44:36,826 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 33 of 112 [2023-11-24 21:44:36,826 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:44:56,268 INFO L124 PetriNetUnfolderBase]: 112860/167061 cut-off events. [2023-11-24 21:44:56,268 INFO L125 PetriNetUnfolderBase]: For 2885/2885 co-relation queries the response was YES. [2023-11-24 21:44:56,508 INFO L83 FinitePrefix]: Finished finitePrefix Result has 318738 conditions, 167061 events. 112860/167061 cut-off events. For 2885/2885 co-relation queries the response was YES. Maximal size of possible extension queue 3248. Compared 1308698 event pairs, 100020 based on Foata normal form. 0/160206 useless extension candidates. Maximal degree in co-relation 177381. Up to 149843 conditions per place. [2023-11-24 21:44:57,356 INFO L140 encePairwiseOnDemand]: 106/112 looper letters, 72 selfloop transitions, 1 changer transitions 0/105 dead transitions. [2023-11-24 21:44:57,356 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 105 places, 105 transitions, 374 flow [2023-11-24 21:44:57,587 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:44:57,587 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:44:57,588 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 177 transitions. [2023-11-24 21:44:57,589 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5267857142857143 [2023-11-24 21:44:57,589 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 177 transitions. [2023-11-24 21:44:57,589 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 177 transitions. [2023-11-24 21:44:57,589 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:44:57,589 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 177 transitions. [2023-11-24 21:44:57,590 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 59.0) internal successors, (177), 3 states have internal predecessors, (177), 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-24 21:44:57,591 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 112.0) internal successors, (448), 4 states have internal predecessors, (448), 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-24 21:44:57,592 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 112.0) internal successors, (448), 4 states have internal predecessors, (448), 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-24 21:44:57,592 INFO L175 Difference]: Start difference. First operand has 107 places, 112 transitions, 242 flow. Second operand 3 states and 177 transitions. [2023-11-24 21:44:57,592 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 105 places, 105 transitions, 374 flow [2023-11-24 21:44:57,599 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 105 places, 105 transitions, 372 flow, removed 1 selfloop flow, removed 0 redundant places. [2023-11-24 21:44:57,603 INFO L231 Difference]: Finished difference. Result has 105 places, 105 transitions, 228 flow [2023-11-24 21:44:57,603 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=112, PETRI_DIFFERENCE_MINUEND_FLOW=226, PETRI_DIFFERENCE_MINUEND_PLACES=103, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=105, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=104, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=228, PETRI_PLACES=105, PETRI_TRANSITIONS=105} [2023-11-24 21:44:57,606 INFO L281 CegarLoopForPetriNet]: 107 programPoint places, -2 predicate places. [2023-11-24 21:44:57,606 INFO L495 AbstractCegarLoop]: Abstraction has has 105 places, 105 transitions, 228 flow [2023-11-24 21:44:57,607 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 34.0) internal successors, (102), 3 states have internal predecessors, (102), 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-24 21:44:57,607 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:44:57,607 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 21:44:57,607 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6 [2023-11-24 21:44:57,607 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2023-11-24 21:44:57,608 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:44:57,609 INFO L85 PathProgramCache]: Analyzing trace with hash 596930, now seen corresponding path program 1 times [2023-11-24 21:44:57,609 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:44:57,609 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [178892926] [2023-11-24 21:44:57,612 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:44:57,612 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:44:57,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:44:57,684 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-24 21:44:57,684 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:44:57,685 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [178892926] [2023-11-24 21:44:57,685 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [178892926] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:44:57,685 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:44:57,685 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 21:44:57,685 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1506729490] [2023-11-24 21:44:57,685 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:44:57,686 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:44:57,686 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:44:57,686 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:44:57,687 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:44:57,694 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 34 out of 112 [2023-11-24 21:44:57,694 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 105 places, 105 transitions, 228 flow. Second operand has 3 states, 3 states have (on average 35.0) internal successors, (105), 3 states have internal predecessors, (105), 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-24 21:44:57,695 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:44:57,695 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 34 of 112 [2023-11-24 21:44:57,695 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 21:45:09,726 INFO L124 PetriNetUnfolderBase]: 82330/122973 cut-off events. [2023-11-24 21:45:09,726 INFO L125 PetriNetUnfolderBase]: For 1411/1411 co-relation queries the response was YES. [2023-11-24 21:45:09,899 INFO L83 FinitePrefix]: Finished finitePrefix Result has 234435 conditions, 122973 events. 82330/122973 cut-off events. For 1411/1411 co-relation queries the response was YES. Maximal size of possible extension queue 2478. Compared 945947 event pairs, 72700 based on Foata normal form. 9724/127523 useless extension candidates. Maximal degree in co-relation 234426. Up to 110067 conditions per place. [2023-11-24 21:45:10,537 INFO L140 encePairwiseOnDemand]: 110/112 looper letters, 71 selfloop transitions, 1 changer transitions 0/104 dead transitions. [2023-11-24 21:45:10,537 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 106 places, 104 transitions, 370 flow [2023-11-24 21:45:10,538 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 21:45:10,538 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 21:45:10,539 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 175 transitions. [2023-11-24 21:45:10,539 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5208333333333334 [2023-11-24 21:45:10,540 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 175 transitions. [2023-11-24 21:45:10,540 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 175 transitions. [2023-11-24 21:45:10,540 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 21:45:10,540 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 175 transitions. [2023-11-24 21:45:10,541 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 58.333333333333336) internal successors, (175), 3 states have internal predecessors, (175), 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-24 21:45:10,544 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 112.0) internal successors, (448), 4 states have internal predecessors, (448), 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-24 21:45:10,545 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 112.0) internal successors, (448), 4 states have internal predecessors, (448), 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-24 21:45:10,545 INFO L175 Difference]: Start difference. First operand has 105 places, 105 transitions, 228 flow. Second operand 3 states and 175 transitions. [2023-11-24 21:45:10,546 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 106 places, 104 transitions, 370 flow [2023-11-24 21:45:10,550 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 105 places, 104 transitions, 369 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-24 21:45:10,558 INFO L231 Difference]: Finished difference. Result has 105 places, 104 transitions, 227 flow [2023-11-24 21:45:10,558 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=112, PETRI_DIFFERENCE_MINUEND_FLOW=225, PETRI_DIFFERENCE_MINUEND_PLACES=103, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=104, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=103, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=227, PETRI_PLACES=105, PETRI_TRANSITIONS=104} [2023-11-24 21:45:10,560 INFO L281 CegarLoopForPetriNet]: 107 programPoint places, -2 predicate places. [2023-11-24 21:45:10,560 INFO L495 AbstractCegarLoop]: Abstraction has has 105 places, 104 transitions, 227 flow [2023-11-24 21:45:10,561 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 35.0) internal successors, (105), 3 states have internal predecessors, (105), 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-24 21:45:10,561 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:45:10,561 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2023-11-24 21:45:10,561 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-11-24 21:45:10,562 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2023-11-24 21:45:10,562 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:45:10,562 INFO L85 PathProgramCache]: Analyzing trace with hash -1289968482, now seen corresponding path program 1 times [2023-11-24 21:45:10,562 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:45:10,563 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1723440602] [2023-11-24 21:45:10,563 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:45:10,563 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:45:10,849 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 21:45:10,849 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 21:45:10,883 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 21:45:10,894 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-24 21:45:10,906 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-24 21:45:10,907 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (15 of 16 remaining) [2023-11-24 21:45:10,907 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (14 of 16 remaining) [2023-11-24 21:45:10,907 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (13 of 16 remaining) [2023-11-24 21:45:10,908 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (12 of 16 remaining) [2023-11-24 21:45:10,908 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (11 of 16 remaining) [2023-11-24 21:45:10,908 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 16 remaining) [2023-11-24 21:45:10,909 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (9 of 16 remaining) [2023-11-24 21:45:10,909 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (8 of 16 remaining) [2023-11-24 21:45:10,909 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (7 of 16 remaining) [2023-11-24 21:45:10,910 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (6 of 16 remaining) [2023-11-24 21:45:10,911 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (5 of 16 remaining) [2023-11-24 21:45:10,911 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (4 of 16 remaining) [2023-11-24 21:45:10,911 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (3 of 16 remaining) [2023-11-24 21:45:10,912 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONARRAY_INDEX (2 of 16 remaining) [2023-11-24 21:45:10,912 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err2ASSERT_VIOLATIONMEMORY_LEAK (1 of 16 remaining) [2023-11-24 21:45:10,912 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err1ASSERT_VIOLATIONARRAY_INDEX (0 of 16 remaining) [2023-11-24 21:45:10,912 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2023-11-24 21:45:10,913 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2023-11-24 21:45:10,914 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-24 21:45:10,914 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-11-24 21:45:11,038 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-24 21:45:11,046 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 139 places, 146 transitions, 320 flow [2023-11-24 21:45:11,084 INFO L124 PetriNetUnfolderBase]: 16/177 cut-off events. [2023-11-24 21:45:11,085 INFO L125 PetriNetUnfolderBase]: For 16/16 co-relation queries the response was YES. [2023-11-24 21:45:11,086 INFO L83 FinitePrefix]: Finished finitePrefix Result has 196 conditions, 177 events. 16/177 cut-off events. For 16/16 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 619 event pairs, 0 based on Foata normal form. 0/129 useless extension candidates. Maximal degree in co-relation 147. Up to 5 conditions per place. [2023-11-24 21:45:11,086 INFO L82 GeneralOperation]: Start removeDead. Operand has 139 places, 146 transitions, 320 flow [2023-11-24 21:45:11,091 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 139 places, 146 transitions, 320 flow [2023-11-24 21:45:11,094 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 21:45:11,096 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=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@4cc19896, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 21:45:11,096 INFO L358 AbstractCegarLoop]: Starting to check reachability of 19 error locations. [2023-11-24 21:45:11,098 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 21:45:11,098 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 21:45:11,099 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 21:45:11,099 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 21:45:11,099 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 21:45:11,099 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thr1Err0ASSERT_VIOLATIONARRAY_INDEX, thr1Err2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err1ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-24 21:45:11,100 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 21:45:11,100 INFO L85 PathProgramCache]: Analyzing trace with hash 741907, now seen corresponding path program 1 times [2023-11-24 21:45:11,100 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 21:45:11,100 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1564542911] [2023-11-24 21:45:11,101 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 21:45:11,101 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 21:45:11,112 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 21:45:11,154 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-24 21:45:11,155 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 21:45:11,155 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1564542911] [2023-11-24 21:45:11,155 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1564542911] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 21:45:11,156 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 21:45:11,156 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 21:45:11,156 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1252706898] [2023-11-24 21:45:11,156 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 21:45:11,157 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 21:45:11,157 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 21:45:11,157 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 21:45:11,158 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 21:45:11,165 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 43 out of 146 [2023-11-24 21:45:11,165 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 139 places, 146 transitions, 320 flow. Second operand has 3 states, 3 states have (on average 44.0) internal successors, (132), 3 states have internal predecessors, (132), 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-24 21:45:11,165 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 21:45:11,166 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 43 of 146 [2023-11-24 21:45:11,166 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand