./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/goblint-regression/28-race_reach_83-list2_racing1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/goblint-regression/28-race_reach_83-list2_racing1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB --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 23c4aefdda14d4315577cd0030d174ab477745d4b270d2de822290a016a0ff8d --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-28 04:58:32,185 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-28 04:58:32,284 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-28 04:58:32,291 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-28 04:58:32,293 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-28 04:58:32,320 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-28 04:58:32,320 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-28 04:58:32,320 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-28 04:58:32,321 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-28 04:58:32,321 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-28 04:58:32,321 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-28 04:58:32,321 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-28 04:58:32,321 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-28 04:58:32,321 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-28 04:58:32,322 INFO L153 SettingsManager]: * Use SBE=true [2024-11-28 04:58:32,322 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-28 04:58:32,322 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-28 04:58:32,322 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-28 04:58:32,322 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-28 04:58:32,322 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-28 04:58:32,322 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-28 04:58:32,322 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-28 04:58:32,322 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-28 04:58:32,323 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-28 04:58:32,323 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-28 04:58:32,323 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-28 04:58:32,323 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-28 04:58:32,323 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-28 04:58:32,323 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-28 04:58:32,323 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-28 04:58:32,323 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-28 04:58:32,324 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-28 04:58:32,324 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-28 04:58:32,324 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-28 04:58:32,324 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-28 04:58:32,324 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-28 04:58:32,324 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-28 04:58:32,324 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-28 04:58:32,324 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-28 04:58:32,325 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-28 04:58:32,325 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-28 04:58:32,325 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-28 04:58:32,325 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-28 04:58:32,325 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-28 04:58:32,325 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-28 04:58:32,325 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-28 04:58:32,325 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-28 04:58:32,326 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB 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 -> 23c4aefdda14d4315577cd0030d174ab477745d4b270d2de822290a016a0ff8d [2024-11-28 04:58:32,705 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-28 04:58:32,715 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-28 04:58:32,717 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-28 04:58:32,718 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-28 04:58:32,719 INFO L274 PluginConnector]: CDTParser initialized [2024-11-28 04:58:32,720 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/../../sv-benchmarks/c/goblint-regression/28-race_reach_83-list2_racing1.i [2024-11-28 04:58:36,044 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/data/3014721d9/790417efbe7f4060b97578a7bb455eba/FLAG6a02504b7 [2024-11-28 04:58:36,422 INFO L384 CDTParser]: Found 1 translation units. [2024-11-28 04:58:36,423 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/sv-benchmarks/c/goblint-regression/28-race_reach_83-list2_racing1.i [2024-11-28 04:58:36,442 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/data/3014721d9/790417efbe7f4060b97578a7bb455eba/FLAG6a02504b7 [2024-11-28 04:58:36,458 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/data/3014721d9/790417efbe7f4060b97578a7bb455eba [2024-11-28 04:58:36,461 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-28 04:58:36,463 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-28 04:58:36,464 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-28 04:58:36,464 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-28 04:58:36,468 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-28 04:58:36,469 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 04:58:36" (1/1) ... [2024-11-28 04:58:36,470 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1a881931 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:36, skipping insertion in model container [2024-11-28 04:58:36,470 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 04:58:36" (1/1) ... [2024-11-28 04:58:36,510 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-28 04:58:37,128 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-28 04:58:37,156 INFO L200 MainTranslator]: Completed pre-run [2024-11-28 04:58:37,259 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-28 04:58:37,346 INFO L204 MainTranslator]: Completed translation [2024-11-28 04:58:37,347 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37 WrapperNode [2024-11-28 04:58:37,347 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-28 04:58:37,348 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-28 04:58:37,349 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-28 04:58:37,349 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-28 04:58:37,356 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,371 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,410 INFO L138 Inliner]: procedures = 280, calls = 97, calls flagged for inlining = 11, calls inlined = 12, statements flattened = 357 [2024-11-28 04:58:37,414 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-28 04:58:37,415 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-28 04:58:37,415 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-28 04:58:37,415 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-28 04:58:37,427 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,427 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,433 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,464 INFO L175 MemorySlicer]: Split 51 memory accesses to 9 slices as follows [2, 5, 5, 2, 5, 5, 23, 2, 2]. 45 percent of accesses are in the largest equivalence class. The 22 initializations are split as follows [2, 5, 5, 0, 5, 5, 0, 0, 0]. The 15 writes are split as follows [0, 0, 0, 1, 0, 0, 12, 1, 1]. [2024-11-28 04:58:37,465 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,465 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,484 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,486 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,492 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,496 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,498 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,508 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-28 04:58:37,509 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-28 04:58:37,509 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-28 04:58:37,509 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-28 04:58:37,510 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (1/1) ... [2024-11-28 04:58:37,523 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-28 04:58:37,548 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/z3 [2024-11-28 04:58:37,566 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-28 04:58:37,570 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_3127427b-5f1d-4420-b4fe-5946766110f8/bin/uautomizer-verify-aQ6SnzHsRB/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-28 04:58:37,601 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-28 04:58:37,601 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2024-11-28 04:58:37,601 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2024-11-28 04:58:37,602 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#2 [2024-11-28 04:58:37,602 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#3 [2024-11-28 04:58:37,602 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#4 [2024-11-28 04:58:37,602 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#5 [2024-11-28 04:58:37,603 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#6 [2024-11-28 04:58:37,603 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#7 [2024-11-28 04:58:37,604 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#8 [2024-11-28 04:58:37,604 INFO L130 BoogieDeclarations]: Found specification of procedure t1_fun [2024-11-28 04:58:37,604 INFO L138 BoogieDeclarations]: Found implementation of procedure t1_fun [2024-11-28 04:58:37,604 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-28 04:58:37,604 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-28 04:58:37,604 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-28 04:58:37,604 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-28 04:58:37,605 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-28 04:58:37,605 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-11-28 04:58:37,605 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2024-11-28 04:58:37,605 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2024-11-28 04:58:37,605 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#6 [2024-11-28 04:58:37,605 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#7 [2024-11-28 04:58:37,607 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#8 [2024-11-28 04:58:37,607 INFO L130 BoogieDeclarations]: Found specification of procedure t2_fun [2024-11-28 04:58:37,607 INFO L138 BoogieDeclarations]: Found implementation of procedure t2_fun [2024-11-28 04:58:37,608 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-28 04:58:37,608 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-28 04:58:37,608 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-28 04:58:37,608 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-11-28 04:58:37,608 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2024-11-28 04:58:37,608 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2024-11-28 04:58:37,608 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#6 [2024-11-28 04:58:37,608 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#7 [2024-11-28 04:58:37,609 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#8 [2024-11-28 04:58:37,609 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-28 04:58:37,609 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-28 04:58:37,609 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-28 04:58:37,609 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2024-11-28 04:58:37,609 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2024-11-28 04:58:37,609 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2024-11-28 04:58:37,609 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#3 [2024-11-28 04:58:37,609 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#4 [2024-11-28 04:58:37,611 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#5 [2024-11-28 04:58:37,611 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#6 [2024-11-28 04:58:37,611 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#7 [2024-11-28 04:58:37,611 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#8 [2024-11-28 04:58:37,612 INFO L130 BoogieDeclarations]: Found specification of procedure t3_fun [2024-11-28 04:58:37,612 INFO L138 BoogieDeclarations]: Found implementation of procedure t3_fun [2024-11-28 04:58:37,612 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-28 04:58:37,612 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-28 04:58:37,612 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-28 04:58:37,612 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-11-28 04:58:37,612 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2024-11-28 04:58:37,612 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2024-11-28 04:58:37,612 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#6 [2024-11-28 04:58:37,613 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#7 [2024-11-28 04:58:37,613 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#8 [2024-11-28 04:58:37,613 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-28 04:58:37,613 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-28 04:58:37,615 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-28 04:58:37,881 INFO L234 CfgBuilder]: Building ICFG [2024-11-28 04:58:37,882 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-28 04:58:38,685 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-28 04:58:38,686 INFO L283 CfgBuilder]: Performing block encoding [2024-11-28 04:58:39,111 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-28 04:58:39,113 INFO L312 CfgBuilder]: Removed 18 assume(true) statements. [2024-11-28 04:58:39,114 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 04:58:39 BoogieIcfgContainer [2024-11-28 04:58:39,114 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-28 04:58:39,116 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-28 04:58:39,116 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-28 04:58:39,123 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-28 04:58:39,123 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 28.11 04:58:36" (1/3) ... [2024-11-28 04:58:39,124 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4cac76da and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 04:58:39, skipping insertion in model container [2024-11-28 04:58:39,125 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 04:58:37" (2/3) ... [2024-11-28 04:58:39,125 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4cac76da and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 04:58:39, skipping insertion in model container [2024-11-28 04:58:39,126 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 04:58:39" (3/3) ... [2024-11-28 04:58:39,128 INFO L128 eAbstractionObserver]: Analyzing ICFG 28-race_reach_83-list2_racing1.i [2024-11-28 04:58:39,147 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-28 04:58:39,150 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG 28-race_reach_83-list2_racing1.i that has 4 procedures, 189 locations, 1 initial locations, 18 loop locations, and 61 error locations. [2024-11-28 04:58:39,151 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-28 04:58:39,341 INFO L143 ThreadInstanceAdder]: Constructed 9 joinOtherThreadTransitions. [2024-11-28 04:58:39,392 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 198 places, 230 transitions, 499 flow [2024-11-28 04:58:39,716 INFO L124 PetriNetUnfolderBase]: 126/749 cut-off events. [2024-11-28 04:58:39,720 INFO L125 PetriNetUnfolderBase]: For 36/36 co-relation queries the response was YES. [2024-11-28 04:58:39,744 INFO L83 FinitePrefix]: Finished finitePrefix Result has 803 conditions, 749 events. 126/749 cut-off events. For 36/36 co-relation queries the response was YES. Maximal size of possible extension queue 53. Compared 5612 event pairs, 0 based on Foata normal form. 0/423 useless extension candidates. Maximal degree in co-relation 388. Up to 16 conditions per place. [2024-11-28 04:58:39,744 INFO L82 GeneralOperation]: Start removeDead. Operand has 198 places, 230 transitions, 499 flow [2024-11-28 04:58:39,762 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 198 places, 230 transitions, 499 flow [2024-11-28 04:58:39,776 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-28 04:58:39,792 INFO L333 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, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, 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;@4e46079, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-28 04:58:39,793 INFO L334 AbstractCegarLoop]: Starting to check reachability of 104 error locations. [2024-11-28 04:58:39,797 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-28 04:58:39,798 INFO L124 PetriNetUnfolderBase]: 0/2 cut-off events. [2024-11-28 04:58:39,798 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-28 04:58:39,798 INFO L198 CegarLoopForPetriNet]: Found error trace [2024-11-28 04:58:39,799 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1] [2024-11-28 04:58:39,799 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [t2_funErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t2_funErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t2_funErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 101 more)] === [2024-11-28 04:58:39,807 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-28 04:58:39,807 INFO L85 PathProgramCache]: Analyzing trace with hash 32362, now seen corresponding path program 1 times [2024-11-28 04:58:39,817 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-28 04:58:39,817 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1771404773] [2024-11-28 04:58:39,817 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-28 04:58:39,818 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-28 04:58:39,966 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-28 04:58:40,226 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-28 04:58:40,227 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-28 04:58:40,227 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1771404773] [2024-11-28 04:58:40,228 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1771404773] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-28 04:58:40,228 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-28 04:58:40,229 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-28 04:58:40,230 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [898257612] [2024-11-28 04:58:40,231 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-28 04:58:40,239 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-28 04:58:40,245 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-28 04:58:40,305 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-28 04:58:40,306 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-28 04:58:40,471 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 103 out of 230 [2024-11-28 04:58:40,474 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 198 places, 230 transitions, 499 flow. Second operand has 3 states, 3 states have (on average 103.66666666666667) internal successors, (311), 3 states have internal predecessors, (311), 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) [2024-11-28 04:58:40,474 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-28 04:58:40,475 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 103 of 230 [2024-11-28 04:58:40,478 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-28 04:59:10,613 INFO L124 PetriNetUnfolderBase]: 153559/282326 cut-off events. [2024-11-28 04:59:10,613 INFO L125 PetriNetUnfolderBase]: For 8674/8674 co-relation queries the response was YES. [2024-11-28 04:59:11,171 INFO L83 FinitePrefix]: Finished finitePrefix Result has 495216 conditions, 282326 events. 153559/282326 cut-off events. For 8674/8674 co-relation queries the response was YES. Maximal size of possible extension queue 5879. Compared 3138988 event pairs, 141756 based on Foata normal form. 31418/282528 useless extension candidates. Maximal degree in co-relation 422808. Up to 208485 conditions per place. [2024-11-28 04:59:12,560 INFO L140 encePairwiseOnDemand]: 198/230 looper letters, 93 selfloop transitions, 2 changer transitions 0/198 dead transitions. [2024-11-28 04:59:12,560 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 194 places, 198 transitions, 625 flow [2024-11-28 04:59:12,561 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-28 04:59:12,564 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-28 04:59:12,574 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 434 transitions. [2024-11-28 04:59:12,577 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6289855072463768 [2024-11-28 04:59:12,580 INFO L175 Difference]: Start difference. First operand has 198 places, 230 transitions, 499 flow. Second operand 3 states and 434 transitions. [2024-11-28 04:59:12,581 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 194 places, 198 transitions, 625 flow [2024-11-28 04:59:12,893 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 194 places, 198 transitions, 625 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-28 04:59:12,902 INFO L231 Difference]: Finished difference. Result has 194 places, 198 transitions, 439 flow [2024-11-28 04:59:12,906 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=230, PETRI_DIFFERENCE_MINUEND_FLOW=435, PETRI_DIFFERENCE_MINUEND_PLACES=192, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=198, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=196, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=439, PETRI_PLACES=194, PETRI_TRANSITIONS=198} [2024-11-28 04:59:12,913 INFO L279 CegarLoopForPetriNet]: 198 programPoint places, -4 predicate places. [2024-11-28 04:59:12,914 INFO L471 AbstractCegarLoop]: Abstraction has has 194 places, 198 transitions, 439 flow [2024-11-28 04:59:12,914 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 103.66666666666667) internal successors, (311), 3 states have internal predecessors, (311), 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) [2024-11-28 04:59:12,914 INFO L198 CegarLoopForPetriNet]: Found error trace [2024-11-28 04:59:12,914 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1] [2024-11-28 04:59:12,915 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-28 04:59:12,915 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [t2_funErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t2_funErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t2_funErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 101 more)] === [2024-11-28 04:59:12,916 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-28 04:59:12,916 INFO L85 PathProgramCache]: Analyzing trace with hash 32363, now seen corresponding path program 1 times [2024-11-28 04:59:12,916 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-28 04:59:12,917 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2112880512] [2024-11-28 04:59:12,917 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-28 04:59:12,917 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-28 04:59:12,970 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-28 04:59:13,200 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-28 04:59:13,201 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-28 04:59:13,201 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2112880512] [2024-11-28 04:59:13,201 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2112880512] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-28 04:59:13,202 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-28 04:59:13,204 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-28 04:59:13,205 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1624821691] [2024-11-28 04:59:13,205 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-28 04:59:13,206 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-28 04:59:13,206 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-28 04:59:13,206 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-28 04:59:13,206 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-28 04:59:13,341 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 105 out of 230 [2024-11-28 04:59:13,342 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 194 places, 198 transitions, 439 flow. Second operand has 3 states, 3 states have (on average 105.66666666666667) internal successors, (317), 3 states have internal predecessors, (317), 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) [2024-11-28 04:59:13,343 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-28 04:59:13,343 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 105 of 230 [2024-11-28 04:59:13,343 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand