./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread-wmm/safe016_rmo.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_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/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_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread-wmm/safe016_rmo.opt.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/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_a7467efe-8c11-4f58-96d1-3370ec19e3b4/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 e946e8dea30db7efb52f6f71a24f03cd895152f9df0eae9d8d1291d135f806ee --- Real Ultimate output --- This is Ultimate 0.2.4-dev-0e0057c [2023-11-29 04:40:53,199 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-29 04:40:53,262 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-29 04:40:53,266 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-29 04:40:53,267 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-29 04:40:53,288 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-29 04:40:53,289 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-29 04:40:53,289 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-29 04:40:53,290 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2023-11-29 04:40:53,290 INFO L153 SettingsManager]: * Use memory slicer=true [2023-11-29 04:40:53,291 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-29 04:40:53,291 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-29 04:40:53,292 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-29 04:40:53,293 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-29 04:40:53,293 INFO L153 SettingsManager]: * Use SBE=true [2023-11-29 04:40:53,294 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-29 04:40:53,294 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-29 04:40:53,295 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-29 04:40:53,296 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-29 04:40:53,296 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-29 04:40:53,297 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-29 04:40:53,297 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-29 04:40:53,298 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-29 04:40:53,298 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-29 04:40:53,299 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-29 04:40:53,299 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-29 04:40:53,300 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-29 04:40:53,300 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-29 04:40:53,301 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-29 04:40:53,301 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-29 04:40:53,301 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-29 04:40:53,302 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-29 04:40:53,302 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 04:40:53,303 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-29 04:40:53,303 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-29 04:40:53,303 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-29 04:40:53,303 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-29 04:40:53,303 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-29 04:40:53,304 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-29 04:40:53,304 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-29 04:40:53,304 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-29 04:40:53,304 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_a7467efe-8c11-4f58-96d1-3370ec19e3b4/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_a7467efe-8c11-4f58-96d1-3370ec19e3b4/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 -> e946e8dea30db7efb52f6f71a24f03cd895152f9df0eae9d8d1291d135f806ee [2023-11-29 04:40:53,503 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-29 04:40:53,524 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-29 04:40:53,527 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-29 04:40:53,528 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-29 04:40:53,529 INFO L274 PluginConnector]: CDTParser initialized [2023-11-29 04:40:53,530 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/../../sv-benchmarks/c/pthread-wmm/safe016_rmo.opt.i [2023-11-29 04:40:56,311 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-29 04:40:56,537 INFO L384 CDTParser]: Found 1 translation units. [2023-11-29 04:40:56,538 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/sv-benchmarks/c/pthread-wmm/safe016_rmo.opt.i [2023-11-29 04:40:56,555 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/data/8123cd830/66841ef1adfb4e2499c434d0e550ab7e/FLAG88cf34dc5 [2023-11-29 04:40:56,569 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/data/8123cd830/66841ef1adfb4e2499c434d0e550ab7e [2023-11-29 04:40:56,572 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-29 04:40:56,573 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-29 04:40:56,574 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-29 04:40:56,574 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-29 04:40:56,580 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-29 04:40:56,581 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 04:40:56" (1/1) ... [2023-11-29 04:40:56,582 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5726ac7a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:56, skipping insertion in model container [2023-11-29 04:40:56,582 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.11 04:40:56" (1/1) ... [2023-11-29 04:40:56,640 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-29 04:40:56,992 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 04:40:57,005 INFO L202 MainTranslator]: Completed pre-run [2023-11-29 04:40:57,070 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-29 04:40:57,105 WARN L675 CHandler]: The function __VERIFIER_atomic_begin is called, but not defined or handled by StandardFunctionHandler. [2023-11-29 04:40:57,106 WARN L675 CHandler]: The function __VERIFIER_atomic_end is called, but not defined or handled by StandardFunctionHandler. [2023-11-29 04:40:57,113 INFO L206 MainTranslator]: Completed translation [2023-11-29 04:40:57,114 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57 WrapperNode [2023-11-29 04:40:57,114 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-29 04:40:57,115 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-29 04:40:57,115 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-29 04:40:57,115 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-29 04:40:57,123 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,142 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,172 INFO L138 Inliner]: procedures = 177, calls = 90, calls flagged for inlining = 5, calls inlined = 5, statements flattened = 186 [2023-11-29 04:40:57,173 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-29 04:40:57,174 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-29 04:40:57,174 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-29 04:40:57,174 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-29 04:40:57,186 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,186 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,192 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,214 INFO L175 MemorySlicer]: Split 32 memory accesses to 6 slices as follows [26, 2, 1, 1, 1, 1]. 81 percent of accesses are in the largest equivalence class. The 3 initializations are split as follows [1, 2, 0, 0, 0, 0]. The 15 writes are split as follows [11, 0, 1, 1, 1, 1]. [2023-11-29 04:40:57,214 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,214 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,231 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,234 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,238 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,241 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,248 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-29 04:40:57,249 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-29 04:40:57,249 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-29 04:40:57,249 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-29 04:40:57,250 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (1/1) ... [2023-11-29 04:40:57,256 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2023-11-29 04:40:57,267 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/z3 [2023-11-29 04:40:57,279 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2023-11-29 04:40:57,282 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_a7467efe-8c11-4f58-96d1-3370ec19e3b4/bin/uautomizer-verify-BQ2R08f2Ya/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2023-11-29 04:40:57,310 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2023-11-29 04:40:57,310 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2023-11-29 04:40:57,311 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2023-11-29 04:40:57,311 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2023-11-29 04:40:57,311 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2023-11-29 04:40:57,311 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2023-11-29 04:40:57,311 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2023-11-29 04:40:57,312 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2023-11-29 04:40:57,312 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2023-11-29 04:40:57,312 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2023-11-29 04:40:57,312 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2023-11-29 04:40:57,312 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2023-11-29 04:40:57,313 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2023-11-29 04:40:57,313 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-29 04:40:57,313 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-29 04:40:57,313 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-29 04:40:57,313 INFO L130 BoogieDeclarations]: Found specification of procedure P0 [2023-11-29 04:40:57,314 INFO L138 BoogieDeclarations]: Found implementation of procedure P0 [2023-11-29 04:40:57,314 INFO L130 BoogieDeclarations]: Found specification of procedure P1 [2023-11-29 04:40:57,314 INFO L138 BoogieDeclarations]: Found implementation of procedure P1 [2023-11-29 04:40:57,314 INFO L130 BoogieDeclarations]: Found specification of procedure P2 [2023-11-29 04:40:57,315 INFO L138 BoogieDeclarations]: Found implementation of procedure P2 [2023-11-29 04:40:57,315 INFO L130 BoogieDeclarations]: Found specification of procedure P3 [2023-11-29 04:40:57,315 INFO L138 BoogieDeclarations]: Found implementation of procedure P3 [2023-11-29 04:40:57,315 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2023-11-29 04:40:57,315 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2023-11-29 04:40:57,315 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2023-11-29 04:40:57,316 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2023-11-29 04:40:57,316 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2023-11-29 04:40:57,316 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2023-11-29 04:40:57,316 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2023-11-29 04:40:57,316 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-29 04:40:57,316 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-29 04:40:57,318 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-29 04:40:57,481 INFO L241 CfgBuilder]: Building ICFG [2023-11-29 04:40:57,482 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-29 04:40:58,037 INFO L282 CfgBuilder]: Performing block encoding [2023-11-29 04:40:58,677 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-29 04:40:58,677 INFO L309 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-29 04:40:58,678 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 04:40:58 BoogieIcfgContainer [2023-11-29 04:40:58,678 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-29 04:40:58,681 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-29 04:40:58,681 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-29 04:40:58,684 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-29 04:40:58,684 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.11 04:40:56" (1/3) ... [2023-11-29 04:40:58,685 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@24f5569a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 04:40:58, skipping insertion in model container [2023-11-29 04:40:58,685 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.11 04:40:57" (2/3) ... [2023-11-29 04:40:58,686 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@24f5569a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.11 04:40:58, skipping insertion in model container [2023-11-29 04:40:58,686 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.11 04:40:58" (3/3) ... [2023-11-29 04:40:58,687 INFO L112 eAbstractionObserver]: Analyzing ICFG safe016_rmo.opt.i [2023-11-29 04:40:58,709 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-29 04:40:58,709 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 60 error locations. [2023-11-29 04:40:58,710 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-29 04:40:58,848 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-29 04:40:58,885 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 123 places, 112 transitions, 240 flow [2023-11-29 04:40:58,945 INFO L124 PetriNetUnfolderBase]: 2/108 cut-off events. [2023-11-29 04:40:58,946 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 04:40:58,951 INFO L83 FinitePrefix]: Finished finitePrefix Result has 121 conditions, 108 events. 2/108 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 406 event pairs, 0 based on Foata normal form. 0/46 useless extension candidates. Maximal degree in co-relation 109. Up to 2 conditions per place. [2023-11-29 04:40:58,951 INFO L82 GeneralOperation]: Start removeDead. Operand has 123 places, 112 transitions, 240 flow [2023-11-29 04:40:58,957 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 119 places, 108 transitions, 228 flow [2023-11-29 04:40:58,967 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-29 04:40:58,974 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;@48e1f08, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-29 04:40:58,974 INFO L358 AbstractCegarLoop]: Starting to check reachability of 96 error locations. [2023-11-29 04:40:58,978 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-29 04:40:58,978 INFO L124 PetriNetUnfolderBase]: 0/2 cut-off events. [2023-11-29 04:40:58,978 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-29 04:40:58,978 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:40:58,979 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-29 04:40:58,979 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [P0Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, P0Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, P0Err2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 93 more)] === [2023-11-29 04:40:58,984 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:40:58,984 INFO L85 PathProgramCache]: Analyzing trace with hash 30168, now seen corresponding path program 1 times [2023-11-29 04:40:58,993 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:40:58,994 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [776711392] [2023-11-29 04:40:58,994 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:40:58,994 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:40:59,105 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 04:40:59,236 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-29 04:40:59,237 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 04:40:59,237 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [776711392] [2023-11-29 04:40:59,238 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [776711392] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 04:40:59,238 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 04:40:59,238 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 04:40:59,240 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [562410413] [2023-11-29 04:40:59,240 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 04:40:59,249 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 04:40:59,255 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 04:40:59,280 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 04:40:59,281 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 04:40:59,305 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 30 out of 112 [2023-11-29 04:40:59,308 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 119 places, 108 transitions, 228 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-29 04:40:59,308 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 04:40:59,308 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 30 of 112 [2023-11-29 04:40:59,309 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-29 04:42:22,506 INFO L124 PetriNetUnfolderBase]: 422079/584586 cut-off events. [2023-11-29 04:42:22,506 INFO L125 PetriNetUnfolderBase]: For 1110/1110 co-relation queries the response was YES. [2023-11-29 04:42:23,795 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 40846. Compared 5336722 event pairs, 372279 based on Foata normal form. 14000/252217 useless extension candidates. Maximal degree in co-relation 1130100. Up to 479501 conditions per place. [2023-11-29 04:42:26,562 INFO L140 encePairwiseOnDemand]: 87/112 looper letters, 89 selfloop transitions, 2 changer transitions 0/117 dead transitions. [2023-11-29 04:42:26,562 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 99 places, 117 transitions, 428 flow [2023-11-29 04:42:26,564 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-29 04:42:26,566 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-29 04:42:26,573 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 214 transitions. [2023-11-29 04:42:26,576 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.6369047619047619 [2023-11-29 04:42:26,577 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 214 transitions. [2023-11-29 04:42:26,578 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 214 transitions. [2023-11-29 04:42:26,579 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-29 04:42:26,582 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 214 transitions. [2023-11-29 04:42:26,586 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 71.33333333333333) internal successors, (214), 3 states have internal predecessors, (214), 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-29 04:42:26,591 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 112.0) internal successors, (448), 4 states have internal predecessors, (448), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-29 04:42:26,591 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 112.0) internal successors, (448), 4 states have internal predecessors, (448), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-29 04:42:26,593 INFO L175 Difference]: Start difference. First operand has 119 places, 108 transitions, 228 flow. Second operand 3 states and 214 transitions. [2023-11-29 04:42:26,594 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 99 places, 117 transitions, 428 flow [2023-11-29 04:42:26,859 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 95 places, 117 transitions, 424 flow, removed 0 selfloop flow, removed 4 redundant places. [2023-11-29 04:42:26,863 INFO L231 Difference]: Finished difference. Result has 95 places, 84 transitions, 180 flow [2023-11-29 04:42:26,864 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=112, 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-29 04:42:26,869 INFO L281 CegarLoopForPetriNet]: 119 programPoint places, -24 predicate places. [2023-11-29 04:42:26,869 INFO L495 AbstractCegarLoop]: Abstraction has has 95 places, 84 transitions, 180 flow [2023-11-29 04:42:26,869 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-29 04:42:26,869 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-29 04:42:26,869 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-11-29 04:42:26,870 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-29 04:42:26,870 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [P0Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, P0Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, P0Err2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 93 more)] === [2023-11-29 04:42:26,870 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-29 04:42:26,871 INFO L85 PathProgramCache]: Analyzing trace with hash 30169, now seen corresponding path program 1 times [2023-11-29 04:42:26,871 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-29 04:42:26,871 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [257240857] [2023-11-29 04:42:26,871 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-29 04:42:26,872 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-29 04:42:26,901 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-29 04:42:27,005 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-29 04:42:27,005 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-29 04:42:27,006 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [257240857] [2023-11-29 04:42:27,006 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [257240857] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-29 04:42:27,006 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-29 04:42:27,006 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-29 04:42:27,007 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1797810899] [2023-11-29 04:42:27,007 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-29 04:42:27,008 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-29 04:42:27,009 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-29 04:42:27,009 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-29 04:42:27,010 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-29 04:42:27,033 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 31 out of 112 [2023-11-29 04:42:27,034 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-29 04:42:27,034 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-29 04:42:27,034 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 31 of 112 [2023-11-29 04:42:27,034 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand