./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/goblint-regression/28-race_reach_42-trylock2_racefree.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/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_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/goblint-regression/28-race_reach_42-trylock2_racefree.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/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_b4483d45-717c-45ba-a43c-85db01e35050/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 844ba080c7d33529db727776ee230d62edb7b62a6350a8061572438c458d73d3 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:00:41,905 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:00:42,000 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-24 22:00:42,006 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 22:00:42,006 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-24 22:00:42,033 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:00:42,034 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-24 22:00:42,035 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-24 22:00:42,035 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-24 22:00:42,036 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-24 22:00:42,037 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:00:42,037 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-24 22:00:42,038 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:00:42,039 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:00:42,039 INFO L153 SettingsManager]: * Use SBE=true [2023-11-24 22:00:42,040 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:00:42,041 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 22:00:42,041 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 22:00:42,042 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 22:00:42,042 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:00:42,042 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-24 22:00:42,043 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-24 22:00:42,043 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-24 22:00:42,044 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:00:42,044 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 22:00:42,045 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:00:42,045 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 22:00:42,045 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:00:42,046 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:00:42,046 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-24 22:00:42,047 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-24 22:00:42,047 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-24 22:00:42,048 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 22:00:42,048 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:00:42,049 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:00:42,049 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-24 22:00:42,049 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 22:00:42,050 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-24 22:00:42,050 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-24 22:00:42,051 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-24 22:00:42,051 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 22:00:42,052 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_b4483d45-717c-45ba-a43c-85db01e35050/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_b4483d45-717c-45ba-a43c-85db01e35050/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 -> 844ba080c7d33529db727776ee230d62edb7b62a6350a8061572438c458d73d3 [2023-11-24 22:00:42,373 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:00:42,406 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:00:42,409 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:00:42,411 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:00:42,411 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:00:42,413 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/../../sv-benchmarks/c/goblint-regression/28-race_reach_42-trylock2_racefree.i [2023-11-24 22:00:45,544 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:00:45,864 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:00:45,864 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/sv-benchmarks/c/goblint-regression/28-race_reach_42-trylock2_racefree.i [2023-11-24 22:00:45,888 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/data/bd3131c48/74623bab1f4e4db0aa40acaf5a9732ce/FLAG40a261d97 [2023-11-24 22:00:45,905 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/data/bd3131c48/74623bab1f4e4db0aa40acaf5a9732ce [2023-11-24 22:00:45,911 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:00:45,914 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:00:45,917 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:00:45,918 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:00:45,923 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:00:45,926 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:00:45" (1/1) ... [2023-11-24 22:00:45,927 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@a4a74da and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:45, skipping insertion in model container [2023-11-24 22:00:45,928 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:00:45" (1/1) ... [2023-11-24 22:00:46,005 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:00:46,455 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:00:46,471 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:00:46,518 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:00:46,565 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:00:46,566 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46 WrapperNode [2023-11-24 22:00:46,566 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:00:46,567 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:00:46,568 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:00:46,568 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:00:46,575 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,591 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,636 INFO L138 Inliner]: procedures = 172, calls = 61, calls flagged for inlining = 7, calls inlined = 10, statements flattened = 164 [2023-11-24 22:00:46,639 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:00:46,640 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:00:46,640 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:00:46,641 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:00:46,653 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,654 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,670 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,707 INFO L175 MemorySlicer]: Split 19 memory accesses to 5 slices as follows [2, 5, 5, 5, 2]. 26 percent of accesses are in the largest equivalence class. The 17 initializations are split as follows [2, 5, 5, 5, 0]. The 1 writes are split as follows [0, 0, 0, 0, 1]. [2023-11-24 22:00:46,711 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,711 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,721 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,741 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,748 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,750 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,755 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:00:46,762 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:00:46,763 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:00:46,763 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:00:46,764 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (1/1) ... [2023-11-24 22:00:46,772 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 22:00:46,789 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 [2023-11-24 22:00:46,804 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-24 22:00:46,831 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-24 22:00:46,850 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-24 22:00:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-24 22:00:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-24 22:00:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-24 22:00:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2023-11-24 22:00:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-24 22:00:46,852 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-24 22:00:46,852 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-24 22:00:46,852 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-24 22:00:46,853 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2023-11-24 22:00:46,853 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-11-24 22:00:46,853 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:00:46,855 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:00:46,856 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2023-11-24 22:00:46,856 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2023-11-24 22:00:46,856 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:00:46,856 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexTryLock [2023-11-24 22:00:46,856 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-24 22:00:46,856 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-24 22:00:46,857 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-24 22:00:46,857 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-24 22:00:46,858 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2023-11-24 22:00:46,859 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2023-11-24 22:00:46,859 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:00:46,859 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:00:46,861 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 22:00:47,117 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:00:47,120 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:00:47,592 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:00:47,816 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:00:47,816 INFO L309 CfgBuilder]: Removed 23 assume(true) statements. [2023-11-24 22:00:47,818 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:00:47 BoogieIcfgContainer [2023-11-24 22:00:47,818 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:00:47,821 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-24 22:00:47,822 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-24 22:00:47,825 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-24 22:00:47,825 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 24.11 10:00:45" (1/3) ... [2023-11-24 22:00:47,826 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@15612a18 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 10:00:47, skipping insertion in model container [2023-11-24 22:00:47,827 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:00:46" (2/3) ... [2023-11-24 22:00:47,828 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@15612a18 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 10:00:47, skipping insertion in model container [2023-11-24 22:00:47,828 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:00:47" (3/3) ... [2023-11-24 22:00:47,830 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_42-trylock2_racefree.i [2023-11-24 22:00:47,849 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-24 22:00:47,850 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 9 error locations. [2023-11-24 22:00:47,850 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-24 22:00:47,896 INFO L144 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2023-11-24 22:00:47,935 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 109 places, 137 transitions, 281 flow [2023-11-24 22:00:48,000 INFO L124 PetriNetUnfolderBase]: 49/223 cut-off events. [2023-11-24 22:00:48,001 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-24 22:00:48,007 INFO L83 FinitePrefix]: Finished finitePrefix Result has 228 conditions, 223 events. 49/223 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 1084 event pairs, 0 based on Foata normal form. 0/153 useless extension candidates. Maximal degree in co-relation 132. Up to 6 conditions per place. [2023-11-24 22:00:48,008 INFO L82 GeneralOperation]: Start removeDead. Operand has 109 places, 137 transitions, 281 flow [2023-11-24 22:00:48,015 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 109 places, 137 transitions, 281 flow [2023-11-24 22:00:48,047 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 22:00:48,053 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;@7e996df3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 22:00:48,054 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-11-24 22:00:48,060 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 22:00:48,061 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 22:00:48,062 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:00:48,062 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:00:48,062 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:00:48,063 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-11-24 22:00:48,068 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:00:48,069 INFO L85 PathProgramCache]: Analyzing trace with hash 626712, now seen corresponding path program 1 times [2023-11-24 22:00:48,079 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:00:48,079 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [131980256] [2023-11-24 22:00:48,080 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:00:48,080 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:00:48,204 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:00:48,430 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 22:00:48,431 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:00:48,431 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [131980256] [2023-11-24 22:00:48,432 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [131980256] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:00:48,432 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:00:48,432 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:00:48,434 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [362582673] [2023-11-24 22:00:48,434 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:00:48,443 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:00:48,448 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:00:48,472 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:00:48,473 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:00:48,491 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 45 out of 137 [2023-11-24 22:00:48,494 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 109 places, 137 transitions, 281 flow. Second operand has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 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 22:00:48,494 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:00:48,494 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 45 of 137 [2023-11-24 22:00:48,495 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:00:49,025 INFO L124 PetriNetUnfolderBase]: 632/1936 cut-off events. [2023-11-24 22:00:49,025 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2023-11-24 22:00:49,033 INFO L83 FinitePrefix]: Finished finitePrefix Result has 3273 conditions, 1936 events. 632/1936 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 44. Compared 12443 event pairs, 578 based on Foata normal form. 513/2385 useless extension candidates. Maximal degree in co-relation 3158. Up to 1259 conditions per place. [2023-11-24 22:00:49,047 INFO L140 encePairwiseOnDemand]: 104/137 looper letters, 71 selfloop transitions, 2 changer transitions 1/119 dead transitions. [2023-11-24 22:00:49,048 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 105 places, 119 transitions, 393 flow [2023-11-24 22:00:49,050 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:00:49,052 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:00:49,062 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 252 transitions. [2023-11-24 22:00:49,064 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6131386861313869 [2023-11-24 22:00:49,064 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 252 transitions. [2023-11-24 22:00:49,065 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 252 transitions. [2023-11-24 22:00:49,066 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:00:49,068 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 252 transitions. [2023-11-24 22:00:49,072 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 84.0) internal successors, (252), 3 states have internal predecessors, (252), 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 22:00:49,076 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 137.0) internal successors, (548), 4 states have internal predecessors, (548), 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 22:00:49,077 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 137.0) internal successors, (548), 4 states have internal predecessors, (548), 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 22:00:49,079 INFO L175 Difference]: Start difference. First operand has 109 places, 137 transitions, 281 flow. Second operand 3 states and 252 transitions. [2023-11-24 22:00:49,080 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 105 places, 119 transitions, 393 flow [2023-11-24 22:00:49,084 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 105 places, 119 transitions, 393 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-24 22:00:49,089 INFO L231 Difference]: Finished difference. Result has 105 places, 101 transitions, 213 flow [2023-11-24 22:00:49,091 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=211, PETRI_DIFFERENCE_MINUEND_PLACES=103, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=102, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=100, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=213, PETRI_PLACES=105, PETRI_TRANSITIONS=101} [2023-11-24 22:00:49,095 INFO L281 CegarLoopForPetriNet]: 109 programPoint places, -4 predicate places. [2023-11-24 22:00:49,095 INFO L495 AbstractCegarLoop]: Abstraction has has 105 places, 101 transitions, 213 flow [2023-11-24 22:00:49,096 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 46.0) internal successors, (138), 3 states have internal predecessors, (138), 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 22:00:49,096 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:00:49,096 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:00:49,096 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-24 22:00:49,096 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-11-24 22:00:49,097 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:00:49,097 INFO L85 PathProgramCache]: Analyzing trace with hash 626713, now seen corresponding path program 1 times [2023-11-24 22:00:49,097 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:00:49,098 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [829830358] [2023-11-24 22:00:49,098 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:00:49,098 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:00:49,119 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:00:49,250 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 22:00:49,251 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:00:49,251 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [829830358] [2023-11-24 22:00:49,251 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [829830358] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:00:49,251 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:00:49,252 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:00:49,252 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [157538362] [2023-11-24 22:00:49,252 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:00:49,253 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:00:49,254 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:00:49,254 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:00:49,254 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:00:49,274 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 48 out of 137 [2023-11-24 22:00:49,275 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 105 places, 101 transitions, 213 flow. Second operand has 3 states, 3 states have (on average 49.0) internal successors, (147), 3 states have internal predecessors, (147), 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 22:00:49,275 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:00:49,275 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 48 of 137 [2023-11-24 22:00:49,275 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:00:49,670 INFO L124 PetriNetUnfolderBase]: 596/1806 cut-off events. [2023-11-24 22:00:49,670 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2023-11-24 22:00:49,674 INFO L83 FinitePrefix]: Finished finitePrefix Result has 3058 conditions, 1806 events. 596/1806 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 44. Compared 11320 event pairs, 561 based on Foata normal form. 1/1729 useless extension candidates. Maximal degree in co-relation 3031. Up to 1206 conditions per place. [2023-11-24 22:00:49,683 INFO L140 encePairwiseOnDemand]: 133/137 looper letters, 71 selfloop transitions, 2 changer transitions 0/119 dead transitions. [2023-11-24 22:00:49,683 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 106 places, 119 transitions, 395 flow [2023-11-24 22:00:49,684 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:00:49,684 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:00:49,685 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 219 transitions. [2023-11-24 22:00:49,692 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5328467153284672 [2023-11-24 22:00:49,692 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 219 transitions. [2023-11-24 22:00:49,692 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 219 transitions. [2023-11-24 22:00:49,693 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:00:49,694 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 219 transitions. [2023-11-24 22:00:49,697 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 73.0) internal successors, (219), 3 states have internal predecessors, (219), 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 22:00:49,702 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 137.0) internal successors, (548), 4 states have internal predecessors, (548), 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 22:00:49,703 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 137.0) internal successors, (548), 4 states have internal predecessors, (548), 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 22:00:49,703 INFO L175 Difference]: Start difference. First operand has 105 places, 101 transitions, 213 flow. Second operand 3 states and 219 transitions. [2023-11-24 22:00:49,703 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 106 places, 119 transitions, 395 flow [2023-11-24 22:00:49,708 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 104 places, 119 transitions, 391 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-24 22:00:49,711 INFO L231 Difference]: Finished difference. Result has 105 places, 101 transitions, 219 flow [2023-11-24 22:00:49,712 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=209, PETRI_DIFFERENCE_MINUEND_PLACES=102, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=101, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=99, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=219, PETRI_PLACES=105, PETRI_TRANSITIONS=101} [2023-11-24 22:00:49,713 INFO L281 CegarLoopForPetriNet]: 109 programPoint places, -4 predicate places. [2023-11-24 22:00:49,713 INFO L495 AbstractCegarLoop]: Abstraction has has 105 places, 101 transitions, 219 flow [2023-11-24 22:00:49,719 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 49.0) internal successors, (147), 3 states have internal predecessors, (147), 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 22:00:49,719 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:00:49,719 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2023-11-24 22:00:49,719 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-24 22:00:49,719 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-11-24 22:00:49,724 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:00:49,725 INFO L85 PathProgramCache]: Analyzing trace with hash -1016751388, now seen corresponding path program 1 times [2023-11-24 22:00:49,725 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:00:49,725 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1579902554] [2023-11-24 22:00:49,725 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:00:49,726 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:00:49,751 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:00:49,895 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:00:49,895 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:00:49,896 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1579902554] [2023-11-24 22:00:49,896 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1579902554] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 22:00:49,896 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1444791061] [2023-11-24 22:00:49,896 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:00:49,896 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 22:00:49,897 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 [2023-11-24 22:00:49,903 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 22:00:49,923 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-11-24 22:00:50,013 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:00:50,015 INFO L262 TraceCheckSpWp]: Trace formula consists of 117 conjuncts, 9 conjunts are in the unsatisfiable core [2023-11-24 22:00:50,021 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 22:00:50,108 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 8 treesize of output 1 [2023-11-24 22:00:50,197 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:00:50,198 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 22:00:50,295 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:00:50,296 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1444791061] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 22:00:50,296 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 22:00:50,296 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2023-11-24 22:00:50,297 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1746098611] [2023-11-24 22:00:50,297 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 22:00:50,297 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2023-11-24 22:00:50,298 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:00:50,298 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2023-11-24 22:00:50,299 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2023-11-24 22:00:50,370 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 47 out of 137 [2023-11-24 22:00:50,371 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 105 places, 101 transitions, 219 flow. Second operand has 9 states, 9 states have (on average 49.333333333333336) internal successors, (444), 9 states have internal predecessors, (444), 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 22:00:50,372 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:00:50,372 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 47 of 137 [2023-11-24 22:00:50,372 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:00:50,533 INFO L124 PetriNetUnfolderBase]: 51/160 cut-off events. [2023-11-24 22:00:50,533 INFO L125 PetriNetUnfolderBase]: For 17/17 co-relation queries the response was YES. [2023-11-24 22:00:50,534 INFO L83 FinitePrefix]: Finished finitePrefix Result has 330 conditions, 160 events. 51/160 cut-off events. For 17/17 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 455 event pairs, 0 based on Foata normal form. 36/188 useless extension candidates. Maximal degree in co-relation 296. Up to 105 conditions per place. [2023-11-24 22:00:50,535 INFO L140 encePairwiseOnDemand]: 133/137 looper letters, 39 selfloop transitions, 2 changer transitions 0/58 dead transitions. [2023-11-24 22:00:50,535 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 48 places, 58 transitions, 208 flow [2023-11-24 22:00:50,536 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-11-24 22:00:50,536 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-11-24 22:00:50,537 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 231 transitions. [2023-11-24 22:00:50,538 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4215328467153285 [2023-11-24 22:00:50,538 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 231 transitions. [2023-11-24 22:00:50,538 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 231 transitions. [2023-11-24 22:00:50,538 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:00:50,539 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 231 transitions. [2023-11-24 22:00:50,540 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 57.75) internal successors, (231), 4 states have internal predecessors, (231), 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 22:00:50,542 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 137.0) internal successors, (685), 5 states have internal predecessors, (685), 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 22:00:50,543 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 137.0) internal successors, (685), 5 states have internal predecessors, (685), 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 22:00:50,543 INFO L175 Difference]: Start difference. First operand has 105 places, 101 transitions, 219 flow. Second operand 4 states and 231 transitions. [2023-11-24 22:00:50,544 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 48 places, 58 transitions, 208 flow [2023-11-24 22:00:50,546 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 45 places, 58 transitions, 202 flow, removed 0 selfloop flow, removed 3 redundant places. [2023-11-24 22:00:50,548 INFO L231 Difference]: Finished difference. Result has 45 places, 39 transitions, 86 flow [2023-11-24 22:00:50,548 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=82, PETRI_DIFFERENCE_MINUEND_PLACES=42, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=39, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=37, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=86, PETRI_PLACES=45, PETRI_TRANSITIONS=39} [2023-11-24 22:00:50,551 INFO L281 CegarLoopForPetriNet]: 109 programPoint places, -64 predicate places. [2023-11-24 22:00:50,551 INFO L495 AbstractCegarLoop]: Abstraction has has 45 places, 39 transitions, 86 flow [2023-11-24 22:00:50,552 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 49.333333333333336) internal successors, (444), 9 states have internal predecessors, (444), 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 22:00:50,553 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:00:50,553 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2023-11-24 22:00:50,565 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Forceful destruction successful, exit code 0 [2023-11-24 22:00:50,759 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 22:00:50,760 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-11-24 22:00:50,760 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:00:50,760 INFO L85 PathProgramCache]: Analyzing trace with hash -1454521265, now seen corresponding path program 1 times [2023-11-24 22:00:50,760 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:00:50,761 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [602246588] [2023-11-24 22:00:50,761 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:00:50,761 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:00:50,789 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:00:50,790 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:00:50,818 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:00:50,843 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-24 22:00:50,843 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-24 22:00:50,844 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 10 remaining) [2023-11-24 22:00:50,846 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 10 remaining) [2023-11-24 22:00:50,846 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 10 remaining) [2023-11-24 22:00:50,847 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (6 of 10 remaining) [2023-11-24 22:00:50,847 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (5 of 10 remaining) [2023-11-24 22:00:50,847 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_LEAK (4 of 10 remaining) [2023-11-24 22:00:50,847 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 10 remaining) [2023-11-24 22:00:50,848 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 10 remaining) [2023-11-24 22:00:50,848 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (1 of 10 remaining) [2023-11-24 22:00:50,848 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 10 remaining) [2023-11-24 22:00:50,849 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-11-24 22:00:50,849 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-11-24 22:00:50,851 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-24 22:00:50,852 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-11-24 22:00:50,898 INFO L144 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2023-11-24 22:00:50,903 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 145 places, 184 transitions, 384 flow [2023-11-24 22:00:50,960 INFO L124 PetriNetUnfolderBase]: 81/368 cut-off events. [2023-11-24 22:00:50,960 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2023-11-24 22:00:50,964 INFO L83 FinitePrefix]: Finished finitePrefix Result has 380 conditions, 368 events. 81/368 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 28. Compared 2004 event pairs, 0 based on Foata normal form. 0/253 useless extension candidates. Maximal degree in co-relation 227. Up to 9 conditions per place. [2023-11-24 22:00:50,964 INFO L82 GeneralOperation]: Start removeDead. Operand has 145 places, 184 transitions, 384 flow [2023-11-24 22:00:50,971 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 145 places, 184 transitions, 384 flow [2023-11-24 22:00:50,972 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 22:00:50,973 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;@7e996df3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 22:00:50,974 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-11-24 22:00:50,976 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 22:00:50,976 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 22:00:50,976 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:00:50,977 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:00:50,977 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:00:50,977 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-11-24 22:00:50,977 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:00:50,978 INFO L85 PathProgramCache]: Analyzing trace with hash 809424, now seen corresponding path program 1 times [2023-11-24 22:00:50,978 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:00:50,978 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [339217202] [2023-11-24 22:00:50,983 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:00:50,987 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:00:51,003 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:00:51,035 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 22:00:51,036 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:00:51,036 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [339217202] [2023-11-24 22:00:51,036 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [339217202] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:00:51,036 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:00:51,037 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:00:51,037 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2129228060] [2023-11-24 22:00:51,037 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:00:51,037 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:00:51,038 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:00:51,038 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:00:51,038 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:00:51,050 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 61 out of 184 [2023-11-24 22:00:51,050 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 145 places, 184 transitions, 384 flow. Second operand has 3 states, 3 states have (on average 62.0) internal successors, (186), 3 states have internal predecessors, (186), 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 22:00:51,050 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:00:51,050 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 61 of 184 [2023-11-24 22:00:51,051 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:00:58,045 INFO L124 PetriNetUnfolderBase]: 23415/46871 cut-off events. [2023-11-24 22:00:58,046 INFO L125 PetriNetUnfolderBase]: For 97/97 co-relation queries the response was YES. [2023-11-24 22:00:58,153 INFO L83 FinitePrefix]: Finished finitePrefix Result has 83170 conditions, 46871 events. 23415/46871 cut-off events. For 97/97 co-relation queries the response was YES. Maximal size of possible extension queue 796. Compared 444339 event pairs, 21760 based on Foata normal form. 14736/60096 useless extension candidates. Maximal degree in co-relation 70699. Up to 34187 conditions per place. [2023-11-24 22:00:58,384 INFO L140 encePairwiseOnDemand]: 139/184 looper letters, 107 selfloop transitions, 2 changer transitions 1/171 dead transitions. [2023-11-24 22:00:58,384 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 141 places, 171 transitions, 578 flow [2023-11-24 22:00:58,385 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:00:58,385 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:00:58,388 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 360 transitions. [2023-11-24 22:00:58,389 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6521739130434783 [2023-11-24 22:00:58,389 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 360 transitions. [2023-11-24 22:00:58,389 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 360 transitions. [2023-11-24 22:00:58,390 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:00:58,390 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 360 transitions. [2023-11-24 22:00:58,391 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 120.0) internal successors, (360), 3 states have internal predecessors, (360), 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 22:00:58,393 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 184.0) internal successors, (736), 4 states have internal predecessors, (736), 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 22:00:58,394 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 184.0) internal successors, (736), 4 states have internal predecessors, (736), 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 22:00:58,394 INFO L175 Difference]: Start difference. First operand has 145 places, 184 transitions, 384 flow. Second operand 3 states and 360 transitions. [2023-11-24 22:00:58,395 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 141 places, 171 transitions, 578 flow [2023-11-24 22:00:58,405 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 141 places, 171 transitions, 578 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-11-24 22:00:58,410 INFO L231 Difference]: Finished difference. Result has 141 places, 136 transitions, 292 flow [2023-11-24 22:00:58,411 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=184, PETRI_DIFFERENCE_MINUEND_FLOW=290, PETRI_DIFFERENCE_MINUEND_PLACES=139, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=137, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=135, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=292, PETRI_PLACES=141, PETRI_TRANSITIONS=136} [2023-11-24 22:00:58,413 INFO L281 CegarLoopForPetriNet]: 145 programPoint places, -4 predicate places. [2023-11-24 22:00:58,413 INFO L495 AbstractCegarLoop]: Abstraction has has 141 places, 136 transitions, 292 flow [2023-11-24 22:00:58,414 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 62.0) internal successors, (186), 3 states have internal predecessors, (186), 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 22:00:58,414 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:00:58,414 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:00:58,414 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-11-24 22:00:58,415 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-11-24 22:00:58,415 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:00:58,415 INFO L85 PathProgramCache]: Analyzing trace with hash 809425, now seen corresponding path program 1 times [2023-11-24 22:00:58,415 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:00:58,416 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [789700884] [2023-11-24 22:00:58,416 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:00:58,416 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:00:58,432 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:00:58,514 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 22:00:58,514 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:00:58,514 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [789700884] [2023-11-24 22:00:58,515 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [789700884] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:00:58,515 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:00:58,515 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:00:58,515 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [218470095] [2023-11-24 22:00:58,515 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:00:58,516 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:00:58,516 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:00:58,517 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:00:58,517 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:00:58,529 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 64 out of 184 [2023-11-24 22:00:58,529 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 141 places, 136 transitions, 292 flow. Second operand has 3 states, 3 states have (on average 65.0) internal successors, (195), 3 states have internal predecessors, (195), 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 22:00:58,530 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:00:58,530 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 64 of 184 [2023-11-24 22:00:58,530 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:01:03,060 INFO L124 PetriNetUnfolderBase]: 22121/45421 cut-off events. [2023-11-24 22:01:03,061 INFO L125 PetriNetUnfolderBase]: For 223/223 co-relation queries the response was YES. [2023-11-24 22:01:03,310 INFO L83 FinitePrefix]: Finished finitePrefix Result has 79978 conditions, 45421 events. 22121/45421 cut-off events. For 223/223 co-relation queries the response was YES. Maximal size of possible extension queue 800. Compared 443713 event pairs, 10455 based on Foata normal form. 1/43911 useless extension candidates. Maximal degree in co-relation 77234. Up to 34077 conditions per place. [2023-11-24 22:01:03,617 INFO L140 encePairwiseOnDemand]: 180/184 looper letters, 91 selfloop transitions, 2 changer transitions 0/155 dead transitions. [2023-11-24 22:01:03,618 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 142 places, 155 transitions, 516 flow [2023-11-24 22:01:03,618 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:01:03,619 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:01:03,620 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 287 transitions. [2023-11-24 22:01:03,620 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.519927536231884 [2023-11-24 22:01:03,621 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 287 transitions. [2023-11-24 22:01:03,621 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 287 transitions. [2023-11-24 22:01:03,621 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:01:03,622 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 287 transitions. [2023-11-24 22:01:03,623 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 95.66666666666667) internal successors, (287), 3 states have internal predecessors, (287), 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 22:01:03,625 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 184.0) internal successors, (736), 4 states have internal predecessors, (736), 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 22:01:03,626 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 184.0) internal successors, (736), 4 states have internal predecessors, (736), 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 22:01:03,626 INFO L175 Difference]: Start difference. First operand has 141 places, 136 transitions, 292 flow. Second operand 3 states and 287 transitions. [2023-11-24 22:01:03,627 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 142 places, 155 transitions, 516 flow [2023-11-24 22:01:03,705 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 140 places, 155 transitions, 512 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-24 22:01:03,711 INFO L231 Difference]: Finished difference. Result has 141 places, 137 transitions, 302 flow [2023-11-24 22:01:03,712 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=184, PETRI_DIFFERENCE_MINUEND_FLOW=288, PETRI_DIFFERENCE_MINUEND_PLACES=138, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=136, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=134, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=302, PETRI_PLACES=141, PETRI_TRANSITIONS=137} [2023-11-24 22:01:03,714 INFO L281 CegarLoopForPetriNet]: 145 programPoint places, -4 predicate places. [2023-11-24 22:01:03,715 INFO L495 AbstractCegarLoop]: Abstraction has has 141 places, 137 transitions, 302 flow [2023-11-24 22:01:03,716 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 65.0) internal successors, (195), 3 states have internal predecessors, (195), 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 22:01:03,716 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:01:03,716 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2023-11-24 22:01:03,716 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2023-11-24 22:01:03,717 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-11-24 22:01:03,717 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:01:03,717 INFO L85 PathProgramCache]: Analyzing trace with hash 224897871, now seen corresponding path program 1 times [2023-11-24 22:01:03,718 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:01:03,718 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1692534390] [2023-11-24 22:01:03,718 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:01:03,718 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:01:03,735 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:01:03,879 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:01:03,879 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:01:03,880 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1692534390] [2023-11-24 22:01:03,880 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1692534390] provided 0 perfect and 1 imperfect interpolant sequences [2023-11-24 22:01:03,880 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [353632778] [2023-11-24 22:01:03,880 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:01:03,881 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 22:01:03,881 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 [2023-11-24 22:01:03,882 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2023-11-24 22:01:03,902 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2023-11-24 22:01:03,992 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:01:03,993 INFO L262 TraceCheckSpWp]: Trace formula consists of 117 conjuncts, 9 conjunts are in the unsatisfiable core [2023-11-24 22:01:03,995 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-24 22:01:04,016 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 8 treesize of output 1 [2023-11-24 22:01:04,092 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:01:04,092 INFO L327 TraceCheckSpWp]: Computing backward predicates... [2023-11-24 22:01:04,174 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-24 22:01:04,174 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [353632778] provided 0 perfect and 2 imperfect interpolant sequences [2023-11-24 22:01:04,176 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-11-24 22:01:04,185 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2023-11-24 22:01:04,185 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1401782329] [2023-11-24 22:01:04,185 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-11-24 22:01:04,186 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2023-11-24 22:01:04,189 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:01:04,190 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2023-11-24 22:01:04,192 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2023-11-24 22:01:04,265 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 63 out of 184 [2023-11-24 22:01:04,267 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 141 places, 137 transitions, 302 flow. Second operand has 9 states, 9 states have (on average 65.33333333333333) internal successors, (588), 9 states have internal predecessors, (588), 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 22:01:04,267 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:01:04,267 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 63 of 184 [2023-11-24 22:01:04,268 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:01:04,998 INFO L124 PetriNetUnfolderBase]: 2193/4624 cut-off events. [2023-11-24 22:01:04,999 INFO L125 PetriNetUnfolderBase]: For 953/953 co-relation queries the response was YES. [2023-11-24 22:01:05,009 INFO L83 FinitePrefix]: Finished finitePrefix Result has 8611 conditions, 4624 events. 2193/4624 cut-off events. For 953/953 co-relation queries the response was YES. Maximal size of possible extension queue 109. Compared 31478 event pairs, 576 based on Foata normal form. 684/5282 useless extension candidates. Maximal degree in co-relation 482. Up to 2808 conditions per place. [2023-11-24 22:01:05,032 INFO L140 encePairwiseOnDemand]: 180/184 looper letters, 93 selfloop transitions, 3 changer transitions 0/129 dead transitions. [2023-11-24 22:01:05,032 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 85 places, 129 transitions, 468 flow [2023-11-24 22:01:05,033 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2023-11-24 22:01:05,033 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2023-11-24 22:01:05,035 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 415 transitions. [2023-11-24 22:01:05,035 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.45108695652173914 [2023-11-24 22:01:05,035 INFO L72 ComplementDD]: Start complementDD. Operand 5 states and 415 transitions. [2023-11-24 22:01:05,035 INFO L73 IsDeterministic]: Start isDeterministic. Operand 5 states and 415 transitions. [2023-11-24 22:01:05,036 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:01:05,036 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 5 states and 415 transitions. [2023-11-24 22:01:05,038 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 6 states, 5 states have (on average 83.0) internal successors, (415), 5 states have internal predecessors, (415), 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 22:01:05,040 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 6 states, 6 states have (on average 184.0) internal successors, (1104), 6 states have internal predecessors, (1104), 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 22:01:05,041 INFO L81 ComplementDD]: Finished complementDD. Result has 6 states, 6 states have (on average 184.0) internal successors, (1104), 6 states have internal predecessors, (1104), 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 22:01:05,041 INFO L175 Difference]: Start difference. First operand has 141 places, 137 transitions, 302 flow. Second operand 5 states and 415 transitions. [2023-11-24 22:01:05,041 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 85 places, 129 transitions, 468 flow [2023-11-24 22:01:05,043 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 84 places, 129 transitions, 466 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-11-24 22:01:05,045 INFO L231 Difference]: Finished difference. Result has 84 places, 74 transitions, 170 flow [2023-11-24 22:01:05,046 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=184, PETRI_DIFFERENCE_MINUEND_FLOW=164, PETRI_DIFFERENCE_MINUEND_PLACES=80, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=74, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=71, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=170, PETRI_PLACES=84, PETRI_TRANSITIONS=74} [2023-11-24 22:01:05,046 INFO L281 CegarLoopForPetriNet]: 145 programPoint places, -61 predicate places. [2023-11-24 22:01:05,047 INFO L495 AbstractCegarLoop]: Abstraction has has 84 places, 74 transitions, 170 flow [2023-11-24 22:01:05,047 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 65.33333333333333) internal successors, (588), 9 states have internal predecessors, (588), 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 22:01:05,047 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:01:05,048 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2023-11-24 22:01:05,057 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2023-11-24 22:01:05,253 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable6,3 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_b4483d45-717c-45ba-a43c-85db01e35050/bin/uautomizer-verify-NlZe1sFDwI/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-11-24 22:01:05,253 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-11-24 22:01:05,254 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:01:05,254 INFO L85 PathProgramCache]: Analyzing trace with hash -1028798740, now seen corresponding path program 1 times [2023-11-24 22:01:05,254 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:01:05,255 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [4715190] [2023-11-24 22:01:05,255 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:01:05,255 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:01:05,285 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:01:05,285 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-24 22:01:05,303 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-24 22:01:05,317 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-24 22:01:05,317 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-24 22:01:05,318 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (9 of 10 remaining) [2023-11-24 22:01:05,318 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 10 remaining) [2023-11-24 22:01:05,318 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 10 remaining) [2023-11-24 22:01:05,319 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (6 of 10 remaining) [2023-11-24 22:01:05,319 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (5 of 10 remaining) [2023-11-24 22:01:05,319 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_LEAK (4 of 10 remaining) [2023-11-24 22:01:05,320 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 10 remaining) [2023-11-24 22:01:05,320 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 10 remaining) [2023-11-24 22:01:05,320 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (1 of 10 remaining) [2023-11-24 22:01:05,320 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 10 remaining) [2023-11-24 22:01:05,321 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2023-11-24 22:01:05,321 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-11-24 22:01:05,323 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-11-24 22:01:05,324 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-11-24 22:01:05,376 INFO L144 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2023-11-24 22:01:05,385 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 181 places, 231 transitions, 489 flow [2023-11-24 22:01:05,565 INFO L124 PetriNetUnfolderBase]: 116/534 cut-off events. [2023-11-24 22:01:05,565 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2023-11-24 22:01:05,571 INFO L83 FinitePrefix]: Finished finitePrefix Result has 559 conditions, 534 events. 116/534 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 31. Compared 3064 event pairs, 1 based on Foata normal form. 0/366 useless extension candidates. Maximal degree in co-relation 379. Up to 12 conditions per place. [2023-11-24 22:01:05,571 INFO L82 GeneralOperation]: Start removeDead. Operand has 181 places, 231 transitions, 489 flow [2023-11-24 22:01:05,577 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 181 places, 231 transitions, 489 flow [2023-11-24 22:01:05,579 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 22:01:05,579 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;@7e996df3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 22:01:05,579 INFO L358 AbstractCegarLoop]: Starting to check reachability of 10 error locations. [2023-11-24 22:01:05,581 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 22:01:05,582 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2023-11-24 22:01:05,582 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:01:05,582 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:01:05,582 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-24 22:01:05,582 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 7 more)] === [2023-11-24 22:01:05,583 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:01:05,583 INFO L85 PathProgramCache]: Analyzing trace with hash 1038807, now seen corresponding path program 1 times [2023-11-24 22:01:05,583 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:01:05,583 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1640035407] [2023-11-24 22:01:05,583 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:01:05,584 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:01:05,593 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:01:05,615 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 22:01:05,616 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:01:05,616 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1640035407] [2023-11-24 22:01:05,616 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1640035407] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:01:05,616 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:01:05,617 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:01:05,617 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [941227819] [2023-11-24 22:01:05,617 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:01:05,617 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:01:05,617 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:01:05,618 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:01:05,618 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:01:05,628 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 77 out of 231 [2023-11-24 22:01:05,629 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 181 places, 231 transitions, 489 flow. Second operand has 3 states, 3 states have (on average 78.0) internal successors, (234), 3 states have internal predecessors, (234), 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 22:01:05,629 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:01:05,629 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 77 of 231 [2023-11-24 22:01:05,629 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand