./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/weaver/parallel-barrier-loop.wvr.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 0e0057cc Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/bin/uautomizer-verify-NlZe1sFDwI/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/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_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/bin/uautomizer-verify-NlZe1sFDwI/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/bin/uautomizer-verify-NlZe1sFDwI/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/weaver/parallel-barrier-loop.wvr.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/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_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/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 a690a19e2d41bbc14b3960c21812e80405a4291ef4154c7125f66fa1ebbf9c8f --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-24 22:00:57,356 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-24 22:00:57,424 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/bin/uautomizer-verify-NlZe1sFDwI/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-24 22:00:57,430 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-24 22:00:57,431 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-24 22:00:57,457 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-24 22:00:57,458 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-24 22:00:57,459 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-24 22:00:57,460 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-24 22:00:57,460 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-24 22:00:57,461 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-24 22:00:57,461 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-24 22:00:57,462 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-24 22:00:57,463 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-24 22:00:57,463 INFO L153 SettingsManager]: * Use SBE=true [2023-11-24 22:00:57,464 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-24 22:00:57,464 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-24 22:00:57,465 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-24 22:00:57,465 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-24 22:00:57,466 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-24 22:00:57,466 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-24 22:00:57,469 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-24 22:00:57,469 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-24 22:00:57,470 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-24 22:00:57,470 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-24 22:00:57,470 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-24 22:00:57,471 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-24 22:00:57,471 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-24 22:00:57,471 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-24 22:00:57,472 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-24 22:00:57,472 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-24 22:00:57,472 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-24 22:00:57,473 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 22:00:57,473 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-24 22:00:57,474 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-24 22:00:57,474 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-24 22:00:57,474 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-24 22:00:57,475 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-24 22:00:57,477 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-24 22:00:57,477 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-24 22:00:57,477 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-24 22:00:57,477 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_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/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_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/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 -> a690a19e2d41bbc14b3960c21812e80405a4291ef4154c7125f66fa1ebbf9c8f [2023-11-24 22:00:57,821 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-24 22:00:57,852 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-24 22:00:57,855 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-24 22:00:57,857 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-24 22:00:57,857 INFO L274 PluginConnector]: CDTParser initialized [2023-11-24 22:00:57,858 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/bin/uautomizer-verify-NlZe1sFDwI/../../sv-benchmarks/c/weaver/parallel-barrier-loop.wvr.c [2023-11-24 22:01:00,958 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-24 22:01:01,207 INFO L384 CDTParser]: Found 1 translation units. [2023-11-24 22:01:01,208 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/sv-benchmarks/c/weaver/parallel-barrier-loop.wvr.c [2023-11-24 22:01:01,221 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/bin/uautomizer-verify-NlZe1sFDwI/data/0035df177/292a12f52a984a49ae1c16b4e6415945/FLAGc1926ff60 [2023-11-24 22:01:01,243 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/bin/uautomizer-verify-NlZe1sFDwI/data/0035df177/292a12f52a984a49ae1c16b4e6415945 [2023-11-24 22:01:01,252 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-24 22:01:01,254 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-24 22:01:01,256 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-24 22:01:01,257 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-24 22:01:01,263 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-24 22:01:01,265 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,266 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1f31828b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01, skipping insertion in model container [2023-11-24 22:01:01,267 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,305 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-24 22:01:01,624 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:01:01,644 INFO L202 MainTranslator]: Completed pre-run [2023-11-24 22:01:01,723 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-24 22:01:01,740 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:01:01,747 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-24 22:01:01,757 INFO L206 MainTranslator]: Completed translation [2023-11-24 22:01:01,758 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01 WrapperNode [2023-11-24 22:01:01,758 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-24 22:01:01,760 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-24 22:01:01,760 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-24 22:01:01,760 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-24 22:01:01,768 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:01:01" (1/1) ... [2023-11-24 22:01:01,780 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:01:01" (1/1) ... [2023-11-24 22:01:01,813 INFO L138 Inliner]: procedures = 25, calls = 121, calls flagged for inlining = 13, calls inlined = 13, statements flattened = 273 [2023-11-24 22:01:01,814 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-24 22:01:01,814 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-24 22:01:01,815 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-24 22:01:01,815 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-24 22:01:01,828 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,828 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,834 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,864 INFO L175 MemorySlicer]: Split 14 memory accesses to 7 slices as follows [2, 2, 2, 2, 2, 2, 2]. 14 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0, 0, 0, 0, 0]. The 6 writes are split as follows [0, 1, 1, 1, 1, 1, 1]. [2023-11-24 22:01:01,864 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,864 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,880 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,888 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,905 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,907 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,913 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-24 22:01:01,927 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-24 22:01:01,928 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-24 22:01:01,929 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-24 22:01:01,930 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (1/1) ... [2023-11-24 22:01:01,937 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-24 22:01:01,952 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/bin/uautomizer-verify-NlZe1sFDwI/z3 [2023-11-24 22:01:01,973 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/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:01:01,993 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_4b65d8b3-9e07-4a2f-ad0e-09c4769e5a7d/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:01:02,025 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-24 22:01:02,025 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-24 22:01:02,025 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-24 22:01:02,026 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-24 22:01:02,026 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-24 22:01:02,026 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-24 22:01:02,026 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2023-11-24 22:01:02,027 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2023-11-24 22:01:02,027 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#6 [2023-11-24 22:01:02,027 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-24 22:01:02,029 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-24 22:01:02,030 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-24 22:01:02,030 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-24 22:01:02,030 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2023-11-24 22:01:02,030 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2023-11-24 22:01:02,030 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#6 [2023-11-24 22:01:02,031 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2023-11-24 22:01:02,031 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2023-11-24 22:01:02,031 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2023-11-24 22:01:02,031 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2023-11-24 22:01:02,032 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2023-11-24 22:01:02,032 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2023-11-24 22:01:02,032 INFO L130 BoogieDeclarations]: Found specification of procedure thread4 [2023-11-24 22:01:02,033 INFO L138 BoogieDeclarations]: Found implementation of procedure thread4 [2023-11-24 22:01:02,033 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-24 22:01:02,033 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-24 22:01:02,034 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-24 22:01:02,035 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-24 22:01:02,035 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2023-11-24 22:01:02,035 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2023-11-24 22:01:02,036 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#6 [2023-11-24 22:01:02,036 INFO L130 BoogieDeclarations]: Found specification of procedure thread5 [2023-11-24 22:01:02,037 INFO L138 BoogieDeclarations]: Found implementation of procedure thread5 [2023-11-24 22:01:02,037 INFO L130 BoogieDeclarations]: Found specification of procedure thread6 [2023-11-24 22:01:02,037 INFO L138 BoogieDeclarations]: Found implementation of procedure thread6 [2023-11-24 22:01:02,037 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-24 22:01:02,038 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-24 22:01:02,038 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-24 22:01:02,039 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-24 22:01:02,039 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-24 22:01:02,041 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:01:02,204 INFO L241 CfgBuilder]: Building ICFG [2023-11-24 22:01:02,207 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-24 22:01:02,736 INFO L282 CfgBuilder]: Performing block encoding [2023-11-24 22:01:03,063 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-24 22:01:03,063 INFO L309 CfgBuilder]: Removed 4 assume(true) statements. [2023-11-24 22:01:03,064 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:01:03 BoogieIcfgContainer [2023-11-24 22:01:03,064 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-24 22:01:03,069 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-24 22:01:03,069 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-24 22:01:03,073 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-24 22:01:03,073 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 24.11 10:01:01" (1/3) ... [2023-11-24 22:01:03,074 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@73915f18 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 10:01:03, skipping insertion in model container [2023-11-24 22:01:03,075 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.11 10:01:01" (2/3) ... [2023-11-24 22:01:03,077 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@73915f18 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.11 10:01:03, skipping insertion in model container [2023-11-24 22:01:03,077 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.11 10:01:03" (3/3) ... [2023-11-24 22:01:03,078 INFO L112 eAbstractionObserver]: Analyzing ICFG parallel-barrier-loop.wvr.c [2023-11-24 22:01:03,098 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-24 22:01:03,098 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 26 error locations. [2023-11-24 22:01:03,098 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-24 22:01:03,216 INFO L144 ThreadInstanceAdder]: Constructed 18 joinOtherThreadTransitions. [2023-11-24 22:01:03,256 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 158 places, 151 transitions, 368 flow [2023-11-24 22:01:03,351 INFO L124 PetriNetUnfolderBase]: 12/131 cut-off events. [2023-11-24 22:01:03,351 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2023-11-24 22:01:03,359 INFO L83 FinitePrefix]: Finished finitePrefix Result has 160 conditions, 131 events. 12/131 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 11. Compared 432 event pairs, 0 based on Foata normal form. 0/93 useless extension candidates. Maximal degree in co-relation 133. Up to 3 conditions per place. [2023-11-24 22:01:03,360 INFO L82 GeneralOperation]: Start removeDead. Operand has 158 places, 151 transitions, 368 flow [2023-11-24 22:01:03,380 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 137 places, 130 transitions, 308 flow [2023-11-24 22:01:03,400 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-24 22:01:03,408 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;@4a189974, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-24 22:01:03,408 INFO L358 AbstractCegarLoop]: Starting to check reachability of 52 error locations. [2023-11-24 22:01:03,411 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-24 22:01:03,411 INFO L124 PetriNetUnfolderBase]: 0/2 cut-off events. [2023-11-24 22:01:03,411 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-24 22:01:03,412 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:01:03,412 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-24 22:01:03,413 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thread1Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thread1Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thread1Err2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 49 more)] === [2023-11-24 22:01:03,419 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:01:03,420 INFO L85 PathProgramCache]: Analyzing trace with hash 21554, now seen corresponding path program 1 times [2023-11-24 22:01:03,429 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:01:03,429 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [509368393] [2023-11-24 22:01:03,430 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:01:03,430 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:01:03,537 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:01:03,762 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:03,763 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:01:03,763 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [509368393] [2023-11-24 22:01:03,764 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [509368393] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:01:03,765 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:01:03,765 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:01:03,767 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [633110939] [2023-11-24 22:01:03,768 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:01:03,778 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:01:03,786 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:01:03,817 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:01:03,818 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:01:03,932 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 83 out of 155 [2023-11-24 22:01:03,936 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 137 places, 130 transitions, 308 flow. Second operand has 3 states, 3 states have (on average 83.66666666666667) internal successors, (251), 3 states have internal predecessors, (251), 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,936 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:01:03,937 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 83 of 155 [2023-11-24 22:01:03,938 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-24 22:01:27,109 INFO L124 PetriNetUnfolderBase]: 134107/208209 cut-off events. [2023-11-24 22:01:27,109 INFO L125 PetriNetUnfolderBase]: For 16981/17839 co-relation queries the response was YES. [2023-11-24 22:01:27,860 INFO L83 FinitePrefix]: Finished finitePrefix Result has 386358 conditions, 208209 events. 134107/208209 cut-off events. For 16981/17839 co-relation queries the response was YES. Maximal size of possible extension queue 7178. Compared 1949662 event pairs, 98288 based on Foata normal form. 29182/169475 useless extension candidates. Maximal degree in co-relation 384498. Up to 158298 conditions per place. [2023-11-24 22:01:29,726 INFO L140 encePairwiseOnDemand]: 144/155 looper letters, 102 selfloop transitions, 4 changer transitions 0/174 dead transitions. [2023-11-24 22:01:29,726 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 136 places, 174 transitions, 653 flow [2023-11-24 22:01:29,727 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-24 22:01:29,733 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-24 22:01:29,746 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 367 transitions. [2023-11-24 22:01:29,748 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.789247311827957 [2023-11-24 22:01:29,749 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 367 transitions. [2023-11-24 22:01:29,750 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 367 transitions. [2023-11-24 22:01:29,752 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-24 22:01:29,755 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 367 transitions. [2023-11-24 22:01:29,759 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 122.33333333333333) internal successors, (367), 3 states have internal predecessors, (367), 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:29,764 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 155.0) internal successors, (620), 4 states have internal predecessors, (620), 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:29,765 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 155.0) internal successors, (620), 4 states have internal predecessors, (620), 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:29,768 INFO L175 Difference]: Start difference. First operand has 137 places, 130 transitions, 308 flow. Second operand 3 states and 367 transitions. [2023-11-24 22:01:29,769 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 136 places, 174 transitions, 653 flow [2023-11-24 22:01:31,630 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 124 places, 174 transitions, 591 flow, removed 0 selfloop flow, removed 12 redundant places. [2023-11-24 22:01:31,636 INFO L231 Difference]: Finished difference. Result has 126 places, 126 transitions, 292 flow [2023-11-24 22:01:31,638 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=155, PETRI_DIFFERENCE_MINUEND_FLOW=262, PETRI_DIFFERENCE_MINUEND_PLACES=122, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=123, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=119, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=292, PETRI_PLACES=126, PETRI_TRANSITIONS=126} [2023-11-24 22:01:31,642 INFO L281 CegarLoopForPetriNet]: 137 programPoint places, -11 predicate places. [2023-11-24 22:01:31,642 INFO L495 AbstractCegarLoop]: Abstraction has has 126 places, 126 transitions, 292 flow [2023-11-24 22:01:31,643 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 83.66666666666667) internal successors, (251), 3 states have internal predecessors, (251), 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:31,643 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-24 22:01:31,643 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-24 22:01:31,644 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-24 22:01:31,644 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thread1Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thread1Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thread1Err2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 49 more)] === [2023-11-24 22:01:31,645 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-24 22:01:31,645 INFO L85 PathProgramCache]: Analyzing trace with hash 21555, now seen corresponding path program 1 times [2023-11-24 22:01:31,645 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-24 22:01:31,646 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1460251318] [2023-11-24 22:01:31,646 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-24 22:01:31,646 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-24 22:01:31,668 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-24 22:01:31,818 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:31,818 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-24 22:01:31,819 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1460251318] [2023-11-24 22:01:31,819 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1460251318] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-24 22:01:31,820 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-24 22:01:31,820 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-24 22:01:31,820 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [159831694] [2023-11-24 22:01:31,820 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-24 22:01:31,822 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-24 22:01:31,822 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-24 22:01:31,823 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-24 22:01:31,823 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-24 22:01:31,893 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 83 out of 155 [2023-11-24 22:01:31,895 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 126 places, 126 transitions, 292 flow. Second operand has 3 states, 3 states have (on average 83.66666666666667) internal successors, (251), 3 states have internal predecessors, (251), 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:31,898 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-24 22:01:31,898 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 83 of 155 [2023-11-24 22:01:31,899 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand