./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread-wmm/safe016_power.opt.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_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread-wmm/safe016_power.opt.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya --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 6b69d29db6700923687b32c5d8fab6e8f05fe2198d87348098263d957793e472 --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-28 20:21:42,798 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-28 20:21:42,869 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-28 20:21:42,874 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-28 20:21:42,875 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-28 20:21:42,900 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-28 20:21:42,900 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-28 20:21:42,901 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-28 20:21:42,902 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-28 20:21:42,902 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-28 20:21:42,903 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-28 20:21:42,903 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-28 20:21:42,904 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-28 20:21:42,904 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-28 20:21:42,905 INFO L153 SettingsManager]: * Use SBE=true [2023-11-28 20:21:42,905 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-28 20:21:42,906 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-28 20:21:42,906 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-28 20:21:42,907 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-28 20:21:42,907 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-28 20:21:42,908 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-28 20:21:42,912 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-28 20:21:42,913 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-28 20:21:42,913 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-28 20:21:42,913 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-28 20:21:42,914 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-28 20:21:42,914 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-28 20:21:42,915 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-28 20:21:42,915 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-28 20:21:42,915 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-28 20:21:42,916 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-28 20:21:42,916 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-28 20:21:42,916 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-28 20:21:42,917 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-28 20:21:42,917 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-28 20:21:42,917 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-28 20:21:42,917 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-28 20:21:42,917 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-28 20:21:42,917 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-28 20:21:42,918 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-28 20:21:42,918 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-28 20:21:42,918 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_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/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_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya 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 -> 6b69d29db6700923687b32c5d8fab6e8f05fe2198d87348098263d957793e472 [2023-11-28 20:21:43,151 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-28 20:21:43,172 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-28 20:21:43,174 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-28 20:21:43,176 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-28 20:21:43,176 INFO L274 PluginConnector]: CDTParser initialized [2023-11-28 20:21:43,177 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/../../sv-benchmarks/c/pthread-wmm/safe016_power.opt.i [2023-11-28 20:21:45,828 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-28 20:21:46,085 INFO L384 CDTParser]: Found 1 translation units. [2023-11-28 20:21:46,086 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/sv-benchmarks/c/pthread-wmm/safe016_power.opt.i [2023-11-28 20:21:46,104 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/data/bf12fee90/ae6896bf938748fabb9e25a54a30f009/FLAG896a8aabe [2023-11-28 20:21:46,118 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/data/bf12fee90/ae6896bf938748fabb9e25a54a30f009 [2023-11-28 20:21:46,120 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-28 20:21:46,122 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-28 20:21:46,123 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-28 20:21:46,123 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-28 20:21:46,128 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-28 20:21:46,128 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,129 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4a93a3f5 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46, skipping insertion in model container [2023-11-28 20:21:46,129 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,183 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-28 20:21:46,531 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-28 20:21:46,542 INFO L202 MainTranslator]: Completed pre-run [2023-11-28 20:21:46,607 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-28 20:21:46,636 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-28 20:21:46,636 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-28 20:21:46,642 INFO L206 MainTranslator]: Completed translation [2023-11-28 20:21:46,642 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46 WrapperNode [2023-11-28 20:21:46,642 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-28 20:21:46,643 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-28 20:21:46,643 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-28 20:21:46,644 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-28 20:21:46,650 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,669 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,698 INFO L138 Inliner]: procedures = 177, calls = 92, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 186 [2023-11-28 20:21:46,699 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-28 20:21:46,700 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-28 20:21:46,700 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-28 20:21:46,700 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-28 20:21:46,711 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,712 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,717 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,743 INFO L175 MemorySlicer]: Split 34 memory accesses to 6 slices as follows [2, 1, 1, 28, 1, 1]. 82 percent of accesses are in the largest equivalence class. The 3 initializations are split as follows [2, 0, 0, 1, 0, 0]. The 15 writes are split as follows [0, 1, 1, 11, 1, 1]. [2023-11-28 20:21:46,743 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,744 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,759 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,762 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,766 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,769 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,775 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-28 20:21:46,776 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-28 20:21:46,776 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-28 20:21:46,776 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-28 20:21:46,777 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (1/1) ... [2023-11-28 20:21:46,782 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-28 20:21:46,791 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/z3 [2023-11-28 20:21:46,815 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-28 20:21:46,817 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_976ec19e-a4f8-4085-9a07-820a34cc9ab8/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-28 20:21:46,849 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-28 20:21:46,849 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-28 20:21:46,849 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-28 20:21:46,850 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-28 20:21:46,850 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2023-11-28 20:21:46,850 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2023-11-28 20:21:46,850 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-28 20:21:46,850 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-28 20:21:46,850 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-28 20:21:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-28 20:21:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2023-11-28 20:21:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2023-11-28 20:21:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-28 20:21:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-28 20:21:46,851 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-28 20:21:46,852 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-28 20:21:46,852 INFO L130 BoogieDeclarations]: Found specification of procedure P0 [2023-11-28 20:21:46,852 INFO L138 BoogieDeclarations]: Found implementation of procedure P0 [2023-11-28 20:21:46,852 INFO L130 BoogieDeclarations]: Found specification of procedure P1 [2023-11-28 20:21:46,852 INFO L138 BoogieDeclarations]: Found implementation of procedure P1 [2023-11-28 20:21:46,852 INFO L130 BoogieDeclarations]: Found specification of procedure P2 [2023-11-28 20:21:46,853 INFO L138 BoogieDeclarations]: Found implementation of procedure P2 [2023-11-28 20:21:46,853 INFO L130 BoogieDeclarations]: Found specification of procedure P3 [2023-11-28 20:21:46,853 INFO L138 BoogieDeclarations]: Found implementation of procedure P3 [2023-11-28 20:21:46,853 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-28 20:21:46,853 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-28 20:21:46,853 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-28 20:21:46,854 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-28 20:21:46,854 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2023-11-28 20:21:46,854 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2023-11-28 20:21:46,854 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-28 20:21:46,854 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-28 20:21:46,854 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-28 20:21:46,856 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-28 20:21:47,024 INFO L241 CfgBuilder]: Building ICFG [2023-11-28 20:21:47,026 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-28 20:21:47,609 INFO L282 CfgBuilder]: Performing block encoding [2023-11-28 20:21:48,359 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-28 20:21:48,360 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-28 20:21:48,360 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:21:48 BoogieIcfgContainer [2023-11-28 20:21:48,360 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-28 20:21:48,363 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-28 20:21:48,363 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-28 20:21:48,367 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-28 20:21:48,367 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 28.11 08:21:46" (1/3) ... [2023-11-28 20:21:48,368 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5cfbec3c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 08:21:48, skipping insertion in model container [2023-11-28 20:21:48,368 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 08:21:46" (2/3) ... [2023-11-28 20:21:48,368 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5cfbec3c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 08:21:48, skipping insertion in model container [2023-11-28 20:21:48,368 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 08:21:48" (3/3) ... [2023-11-28 20:21:48,370 INFO L112 eAbstractionObserver]: Analyzing ICFG safe016_power.opt.i [2023-11-28 20:21:48,391 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-28 20:21:48,391 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 64 error locations. [2023-11-28 20:21:48,391 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-28 20:21:48,590 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-28 20:21:48,635 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 127 places, 116 transitions, 248 flow [2023-11-28 20:21:48,713 INFO L124 PetriNetUnfolderBase]: 2/112 cut-off events. [2023-11-28 20:21:48,714 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-28 20:21:48,720 INFO L83 FinitePrefix]: Finished finitePrefix Result has 125 conditions, 112 events. 2/112 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 410 event pairs, 0 based on Foata normal form. 0/46 useless extension candidates. Maximal degree in co-relation 113. Up to 2 conditions per place. [2023-11-28 20:21:48,720 INFO L82 GeneralOperation]: Start removeDead. Operand has 127 places, 116 transitions, 248 flow [2023-11-28 20:21:48,727 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 123 places, 112 transitions, 236 flow [2023-11-28 20:21:48,737 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-28 20:21:48,744 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;@4f82cdfe, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-28 20:21:48,744 INFO L358 AbstractCegarLoop]: Starting to check reachability of 104 error locations. [2023-11-28 20:21:48,748 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-28 20:21:48,748 INFO L124 PetriNetUnfolderBase]: 0/2 cut-off events. [2023-11-28 20:21:48,749 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-28 20:21:48,749 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-28 20:21:48,749 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-28 20:21:48,750 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [P0Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, P0Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, P0Err2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 101 more)] === [2023-11-28 20:21:48,755 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-28 20:21:48,756 INFO L85 PathProgramCache]: Analyzing trace with hash 33088, now seen corresponding path program 1 times [2023-11-28 20:21:48,766 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-28 20:21:48,766 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1889508179] [2023-11-28 20:21:48,767 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-28 20:21:48,767 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-28 20:21:48,878 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-28 20:21:49,013 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-28 20:21:49,014 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-28 20:21:49,014 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1889508179] [2023-11-28 20:21:49,015 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1889508179] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-28 20:21:49,015 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-28 20:21:49,015 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-28 20:21:49,016 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1677308625] [2023-11-28 20:21:49,017 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-28 20:21:49,024 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-28 20:21:49,028 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-28 20:21:49,049 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-28 20:21:49,049 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-28 20:21:49,071 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 30 out of 116 [2023-11-28 20:21:49,074 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 123 places, 112 transitions, 236 flow. Second operand has 3 states, 3 states have (on average 30.666666666666668) internal successors, (92), 3 states have internal predecessors, (92), 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-28 20:21:49,074 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-28 20:21:49,074 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 30 of 116 [2023-11-28 20:21:49,075 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-28 20:23:08,658 INFO L124 PetriNetUnfolderBase]: 422079/584586 cut-off events. [2023-11-28 20:23:08,658 INFO L125 PetriNetUnfolderBase]: For 1110/1110 co-relation queries the response was YES. [2023-11-28 20:23:09,473 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1130115 conditions, 584586 events. 422079/584586 cut-off events. For 1110/1110 co-relation queries the response was YES. Maximal size of possible extension queue 40845. Compared 5341351 event pairs, 372279 based on Foata normal form. 14000/252201 useless extension candidates. Maximal degree in co-relation 1130100. Up to 479501 conditions per place. [2023-11-28 20:23:12,057 INFO L140 encePairwiseOnDemand]: 87/116 looper letters, 89 selfloop transitions, 2 changer transitions 0/117 dead transitions. [2023-11-28 20:23:12,057 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 99 places, 117 transitions, 428 flow [2023-11-28 20:23:12,058 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-28 20:23:12,060 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-28 20:23:12,066 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 222 transitions. [2023-11-28 20:23:12,068 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6379310344827587 [2023-11-28 20:23:12,068 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 222 transitions. [2023-11-28 20:23:12,069 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 222 transitions. [2023-11-28 20:23:12,070 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-28 20:23:12,072 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 222 transitions. [2023-11-28 20:23:12,074 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 74.0) internal successors, (222), 3 states have internal predecessors, (222), 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-28 20:23:12,077 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 116.0) internal successors, (464), 4 states have internal predecessors, (464), 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-28 20:23:12,077 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 116.0) internal successors, (464), 4 states have internal predecessors, (464), 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-28 20:23:12,079 INFO L175 Difference]: Start difference. First operand has 123 places, 112 transitions, 236 flow. Second operand 3 states and 222 transitions. [2023-11-28 20:23:12,080 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 99 places, 117 transitions, 428 flow [2023-11-28 20:23:12,310 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 95 places, 117 transitions, 424 flow, removed 0 selfloop flow, removed 4 redundant places. [2023-11-28 20:23:12,314 INFO L231 Difference]: Finished difference. Result has 95 places, 84 transitions, 180 flow [2023-11-28 20:23:12,316 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=116, PETRI_DIFFERENCE_MINUEND_FLOW=176, PETRI_DIFFERENCE_MINUEND_PLACES=93, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=84, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=82, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=180, PETRI_PLACES=95, PETRI_TRANSITIONS=84} [2023-11-28 20:23:12,319 INFO L281 CegarLoopForPetriNet]: 123 programPoint places, -28 predicate places. [2023-11-28 20:23:12,320 INFO L495 AbstractCegarLoop]: Abstraction has has 95 places, 84 transitions, 180 flow [2023-11-28 20:23:12,320 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 30.666666666666668) internal successors, (92), 3 states have internal predecessors, (92), 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-28 20:23:12,320 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-28 20:23:12,320 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-28 20:23:12,321 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-28 20:23:12,321 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [P0Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, P0Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, P0Err2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 101 more)] === [2023-11-28 20:23:12,322 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-28 20:23:12,322 INFO L85 PathProgramCache]: Analyzing trace with hash 33089, now seen corresponding path program 1 times [2023-11-28 20:23:12,322 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-28 20:23:12,322 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [800585527] [2023-11-28 20:23:12,322 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-28 20:23:12,323 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-28 20:23:12,347 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-28 20:23:12,435 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-28 20:23:12,436 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-28 20:23:12,436 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [800585527] [2023-11-28 20:23:12,436 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [800585527] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-28 20:23:12,436 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-28 20:23:12,437 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-28 20:23:12,437 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [626360007] [2023-11-28 20:23:12,437 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-28 20:23:12,438 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-28 20:23:12,439 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-28 20:23:12,439 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-28 20:23:12,440 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-28 20:23:12,457 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 31 out of 116 [2023-11-28 20:23:12,458 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 95 places, 84 transitions, 180 flow. Second operand has 3 states, 3 states have (on average 31.666666666666668) internal successors, (95), 3 states have internal predecessors, (95), 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-28 20:23:12,458 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-28 20:23:12,458 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 31 of 116 [2023-11-28 20:23:12,458 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand